You&#39;ll probably need to set the vtkInformation for the whole extent and the extent translator in your pipeline. The easiest way to do this may be by using a vtkTrivialProducer or the vtkPVTrivialProducer in Paraview. <br>
<br>Andy<br><br><div class="gmail_quote">On Sun, Jul 22, 2012 at 2:53 PM, Crni Gorac <span dir="ltr">&lt;<a href="mailto:cgorac@gmail.com" target="_blank">cgorac@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have set of values, defined on nodes of 3D rectilinear grid, and<br>
generated by an MPI-enabled program.  I want to write results in<br>
parallel, in multiple pieces, into .pvtr format.  I think I have<br>
everything set up properly, except that<br>
vtkXMLPRectilinearGridWriter::SetStartPiece() and<br>
vtkXMLPRectilinearGridWriter::SetEndPiece() are not really woring for<br>
my case.  Namely, the domain decomposition in my case is such that for<br>
example for 200x200x200 grid, first MPI process is generating 50x50x50<br>
block of values starting from point (0,0,0), then second MPI process<br>
is generating block of same size starting from point (50,0,0), then<br>
third MPI process is generating block starting from point (0,50,0),<br>
etc.  So I&#39;d need to specify these extents somehow &quot;manually&quot;, but I&#39;m<br>
not able to find how to do it.  I can create vtkExtentTranslator<br>
object, and then employ vtkExtentTranslator::SetWholeExtent() and<br>
vtkExtentTraslator::SetExtent(), that I guess would do the job for me,<br>
but I don&#39;t know how to &quot;attach&quot; this vtkExtentTranslator object to<br>
vtkXMLPRectilinearGridWriter object.<br>
<br>
Note that I&#39;m using VTK 5.10, and that I really don&#39;t have any sort of<br>
VTK pipeline in place - I&#39;m using VTK just for this output operation<br>
(for the purpose of examining results calculated by my code in<br>
ParaView).<br>
<br>
Thanks.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>