<div dir="ltr">Hi,<div><br></div><div><div>It appears that the behavior of the vtkXMLPUnstructuredGridWriter has changed in VTK 7.1.  Can anyone comment on this?  I am using the 7.1.0 tarball downloaded from:</div><div><br></div><div><a href="http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz">http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz</a></div></div><div><br></div><div>We have a test case in the MOOSE library (<a href="https://github.com/idaholab/moose/tree/devel/test/tests/outputs/vtk">https://github.com/idaholab/moose/tree/devel/test/tests/outputs/vtk</a>) which demonstrates the problem, but I can also work on creating a standalone test code which demonstrates this issue if necessary.<br></div><div><br></div><div>In versions of VTK prior to 7.1 this test, which runs on two processors, writes the following .pvtu file: (note the two "Piece Source" lines corresponding to each processor's part):</div><div><br></div><div><div><?xml version="1.0"?></div><div><VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor"></div><div>  <PUnstructuredGrid GhostLevel="1"></div><div>    <PPointData></div><div>      <PDataArray type="Float64" Name="aux"/></div><div>      <PDataArray type="Float64" Name="u"/></div><div>    </PPointData></div><div>    <PCellData></div><div>      <PDataArray type="Int32" Name="libmesh_elem_id"/></div><div>      <PDataArray type="Int32" Name="subdomain_id"/></div><div>      <PDataArray type="Int32" Name="processor_id"/></div><div>    </PCellData></div><div>    <PPoints></div><div>      <PDataArray type="Float64" Name="Points" NumberOfComponents="3"/></div><div>    </PPoints></div><div>    <Piece Source="vtk_diff_serial_mesh_parallel_out_005_0.vtu"/></div><div>    <Piece Source="vtk_diff_serial_mesh_parallel_out_005_1.vtu"/></div><div>  </PUnstructuredGrid></div><div></VTKFile></div><div><br></div><div><br></div><div>While in version 7.1, the same test now writes (note the single "Piece Source" line)</div><div><br></div><div><div><?xml version="1.0"?></div><div><VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor"></div><div>  <PUnstructuredGrid GhostLevel="1"></div><div>    <PPointData></div><div>      <PDataArray type="Float64" Name="aux"/></div><div>      <PDataArray type="Float64" Name="u"/></div><div>    </PPointData></div><div>    <PCellData></div><div>      <PDataArray type="Int32" Name="libmesh_elem_id"/></div><div>      <PDataArray type="Int32" Name="subdomain_id"/></div><div>      <PDataArray type="Int32" Name="processor_id"/></div><div>    </PCellData></div><div>    <PPoints></div><div>      <PDataArray type="Float64" Name="Points" NumberOfComponents="3"/></div><div>    </PPoints></div><div>    <Piece Source="vtk_diff_serial_mesh_parallel_out_005_0.vtu"/></div><div>  </PUnstructuredGrid></div><div></VTKFile></div></div><div><br></div><div><br></div><div>The file opens fine in Paraview, but the part of the mesh corresponding to processor 1 is missing. We haven't changed anything substantial in our application code that calls the writer.</div><div><br></div>Thanks, <br><div class="gmail_signature">John</div>
</div></div>