<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This is yet another manifestatrion of<br>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mantis/view.php?id=6662">http://public.kitware.com/mantis/view.php?id=6662</a><br>
<br>
which I will try to look at this week or next.<br>
<br>
I'm linking the bugs.<br>
<br>
JB<br>
<br>
<blockquote cite="mid:C64960A0.9BFC%25kmorel@sandia.gov" type="cite">
  <title>Re: [Paraview] Problem with temporal filter and multi-block
data</title>
  <font face="Calibri, Verdana, Helvetica, Arial"><span
 style="font-size: 11pt;">That clarified it. &nbsp;I am able to reproduce
the problem now, and I see that it is in fact a bug. &nbsp;I submitted a
report for this.<br>
  <br>
  <a moz-do-not-send="true"
 href="http://www.paraview.org/Bug/view.php?id=9089">http://www.paraview.org/Bug/view.php?id=9089</a><br>
  <br>
Thanks for bringing this to our attention.<br>
  <br>
-Ken<br>
  <br>
  <br>
On 5/31/09 1:07 AM, "Christian Wellmann" &lt;<a moz-do-not-send="true"
 href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a>&gt;
wrote:<br>
  <br>
  </span></font>
  <blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
 style="font-size: 11pt;">Hi Ken,<br>
    <br>
the order of operations is:<br>
-load the data<br>
-attach the ExtractBlock to the reader<br>
-attach my temporal filter to the ExtractBlock filter<br>
    <br>
If my data doesn't consists of multiple parts, so I don't have to use<br>
the ExtractBlock, my temporal filter works fine.<br>
    <br>
christian<br>
    <br>
2009/5/29 Moreland, Kenneth &lt;<a moz-do-not-send="true"
 href="kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;:<br>
&gt; I am confused about the order of operations you are doing to get
the error<br>
&gt; (since it apparently only happens if you do things in a certain
way). &nbsp;Are<br>
&gt; you loading the data, attaching your temporal filter to the
reader, and then<br>
&gt; attaching the extract block to your temporal filter? &nbsp;Or are you
loading the<br>
&gt; data, attaching extract block to the reader, and then attaching
your<br>
&gt; temporal filter to extract block? &nbsp;Or are you loading the data,
attaching<br>
&gt; the temporal filter to the reader, and then attaching extract
block to the<br>
&gt; reader too?<br>
&gt;<br>
&gt; -Ken<br>
&gt;<br>
&gt;<br>
&gt; On 5/29/09 3:32 AM, "Christian Wellmann" &lt;<a
 moz-do-not-send="true" href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I use paraview to view results of transient combined finite
discrete<br>
&gt; element analyses.<br>
&gt; My *.pvd input files look like this:<br>
&gt;<br>
&gt; &lt;?xml version="1.0"?&gt;<br>
&gt; &lt;VTKFile type="Collection" version="0.1"
byte_order="LittleEndian"&gt;<br>
&gt; &lt;Collection&gt;<br>
&gt; &lt;DataSet timestep="0,0000000000e+00" group="0" part="0"<br>
&gt; file="se_relax_p_000000000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="0,0000000000e+00" group="0" part="1"<br>
&gt; file="se_relax_c_000000000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="0,0000000000e+00" group="0" part="2"<br>
&gt; file="se_relax_r_000000000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="0,0000000000e+00" group="0" part="3"<br>
&gt; file="se_relax_f_000000000.vtu"/&gt;<br>
&gt; &lt;DataSet timestep="1,0000000000e-03" group="0" part="0"<br>
&gt; file="se_relax_p_000002000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="1,0000000000e-03" group="0" part="1"<br>
&gt; file="se_relax_c_000002000.vtp"/&gt;<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt;<br>
&gt; The results are stored for each part (DE, contact,
rigid-boundaries,<br>
&gt; FE) and time step in a single *.vtp / *.vtu file.<br>
&gt; I can load the *.pvd file into paraview apply non-temporal filters
to<br>
&gt; the single parts and animate without problems.<br>
&gt; Now I wrote a temporal filter to show the trajectories of data
points.<br>
&gt; It requires a time series of datasets<br>
&gt; with constant number of points and generates the trajectories of
the<br>
&gt; points as a single PolyData.<br>
&gt; The filter works fine if my input does not consist of multiple
parts:<br>
&gt;<br>
&gt; &lt;?xml version="1.0"?&gt;<br>
&gt; &lt;VTKFile type="Collection" version="0.1"
byte_order="LittleEndian"&gt;<br>
&gt; &lt;Collection&gt;<br>
&gt; &lt;DataSet timestep="0,0000000000e+00" group="0" part="0"<br>
&gt; file="se_relax_p_000000000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="1,0000000000e-03" group="0" part="0"<br>
&gt; file="se_relax_p_000002000.vtp"/&gt;<br>
&gt; &lt;DataSet timestep="2,0000000000e-03" group="0" part="0"<br>
&gt; file="se_relax_p_000004000.vtp"/&gt;<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt;<br>
&gt; But if I load my complete data with multiple parts and apply the<br>
&gt; ExtractBlock filter first to show the<br>
&gt; trajectories for one part only, ParaView complains:<br>
&gt;<br>
&gt; ERROR: In<br>
&gt;
/home/wellmann/program/ParaView-3.4.0/VTK/Filtering/vtkDemandDrivenPipeline.cxx,<br>
&gt; line 822<br>
&gt; vtkCompositeDataPipeline (0x1e6bbc0): Input for connection index 0
on<br>
&gt; input port index 0 for algorithm vtkExtractBlock(0x11f4ddc0) is of<br>
&gt; type vtkTemporalDataSet, but a vtkMultiBlockDataSet is required.<br>
&gt;<br>
&gt; In writing the filter I tried to follow the "Time Dependent
Processing<br>
&gt; in a Parallel Pipeline Architecture" paper<br>
&gt; and was geared to the vtkTemporalInterpolation filter. However I am<br>
&gt; not confident about how this temporal<br>
&gt; stuff works out: In my understanding my filter tells the upstream
part<br>
&gt; of the pipeline to loop over the requested<br>
&gt; time steps and join the data into a TemporalDataSet that my<br>
&gt; vtkTrajectories filter can work with. Indeed if I connect<br>
&gt; any non temporal filter to the upstream pipeline part (instead of
the<br>
&gt; vtkTrajectories filter) I can animate over the time-steps<br>
&gt; so the upstream pipeline is able to provide data sets for each time<br>
&gt; step. Furthermore, as said above, the filter works<br>
&gt; fine if there is no multiblock data as source of the pipeline.<br>
&gt;<br>
&gt; Thanks for any hints, Christian<br>
&gt; (the filter files are attached)<br>
&gt;<br>
&gt; --<br>
&gt; Christian Wellmann<br>
&gt; Institute of Continuum Mechanics<br>
&gt; Leibniz Universitaet Hannover<br>
&gt; Appelstr. 11<br>
&gt; 30167 Hannover, Germany<br>
&gt; phone: +49 511 762 2285<br>
&gt; fax: +49 511 762 5496<br>
&gt; email: <a moz-do-not-send="true"
 href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<br>
&gt; ***********<br>
&gt; *** *** *** &nbsp;email: <a moz-do-not-send="true"
 href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
&gt; ** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a moz-do-not-send="true"
 href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
&gt;<br>
&gt;<br>
    <br>
    <br>
    <br>
--<br>
Christian Wellmann<br>
Institute of Continuum Mechanics<br>
Leibniz Universitaet Hannover<br>
Appelstr. 11<br>
30167 Hannover, Germany<br>
phone: +49 511 762 2285<br>
fax: +49 511 762 5496<br>
email: <a moz-do-not-send="true" href="wellmann@ikm.uni-hannover.de">wellmann@ikm.uni-hannover.de</a><br>
    <br>
    <br>
    </span></font></blockquote>
  <font face="Calibri, Verdana, Helvetica, Arial"><span
 style="font-size: 11pt;"><br>
  </span></font><font size="2"><font
 face="Consolas, Courier New, Courier"><span style="font-size: 10pt;"><br>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<br>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<br>
*********** &nbsp;<br>
*** *** *** &nbsp;email: <a moz-do-not-send="true" href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<br>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a moz-do-not-send="true"
 href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
  </span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span
 style="font-size: 11pt;"><br>
  </span></font>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/">http://www.cscs.ch/</a>
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82</pre>
</body>
</html>