[Paraview] Problem about pvts data
Berk Geveci
berk.geveci at gmail.com
Fri Jul 21 11:47:53 EDT 2006
Try this fix:
Index: vtkXMLPStructuredDataReader.cxx
===================================================================
RCS file:
/cvsroot/ParaView/ParaView/VTK/IO/vtkXMLPStructuredDataReader.cxx,v
retrieving revision 1.22
diff -u -r1.22 vtkXMLPStructuredDataReader.cxx
--- vtkXMLPStructuredDataReader.cxx 3 Aug 2005 21:57:50 -0000 1.22
+++ vtkXMLPStructuredDataReader.cxx 21 Jul 2006 15:46:14 -0000
@@ -210,13 +210,13 @@
}
void vtkXMLPStructuredDataReader::SetupOutputData()
- {
+{
this->Superclass::SetupOutputData();
-
+
// Tell the output to use the table extent translator to provide the
// correct piece breakdown for the file layout.
- this->GetOutputAsDataSet(0)->SetExtentTranslator(this->ExtentTranslator);
- }
+
//this->GetOutputAsDataSet(0)->SetExtentTranslator(this->ExtentTranslator);
+}
//----------------------------------------------------------------------------
On 7/21/06, Nancy <haifang_zhou at 163.com> wrote:
>
>
> Hi, all,
>
> I have created a data with .pvts format, like following:
> <?xml version="1.0"?>
> <VTKFile type="PStructuredGrid" version="0.1" byte_order="LittleEndian"
> compressor="vtkZLibDataCompressor">
> <PStructuredGrid WholeExtent="0 100 0 100 0 100" GhostLevel="0">
> <PPointData>
> <PDataArray type="Float32" Name="energy"/>
> <PDataArray type="Float32" Name="Dens1"/>
> <PDataArray type="Float32" Name="Dens0"/>
> </PPointData>
> <PPoints>
> <PDataArray type="Float32" NumberOfComponents="3"/>
> </PPoints>
> <Piece Extent="0 50 0 50 0 50" Source="field-0-1.000.vts"/>
> <Piece Extent="0 50 0 50 50 100" Source="field-1-1.000.vts"/>
> <Piece Extent="0 50 50 100 0 50" Source="field-2-1.000.vts"/>
> <Piece Extent="0 50 50 100 50 100" Source="field-3-1.000.vts"/>
> <Piece Extent="50 100 0 50 0 50" Source="field-4-1.000.vts"/>
> <Piece Extent="50 100 0 50 50 100" Source="field-5-1.000.vts"/>
> <Piece Extent="50 100 50 100 0 50" Source="field-6-1.000.vts"/>
> <Piece Extent="50 100 50 100 50 100" Source="field-7-1.000.vts"/>
> </PStructuredGrid>
> </VTKFile>
>
> But, when I start paraview in c/s parallel mode with 4 nodes as servers
> (mpirun -np 4 pvserver),
> and load above .pvts data, only the first 4 pieces are showed on screen.
> If I use 2 nodes as servers,
> also only the first 2 pieces are loaded.
> Why? Any help is welcome.
> Thank you!
>
> ------------------
> Nancy
> 2006-07-21
>
>
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060721/ee7c0970/attachment.html
More information about the ParaView
mailing list