[vtkusers] Different behavior of vtkXMLPUnstructuredGridWriter in VTK 7.1
John Peterson
jwpeterson at gmail.com
Mon Dec 5 14:02:23 EST 2016
On Mon, Dec 5, 2016 at 11:32 AM, Andy Bauer <andy.bauer at kitware.com> wrote:
> Hi,
>
> Can you verify that there are indeed points in
> vtk_diff_serial_mesh_parallel_out_005_1.vtu in the older version of VTK?
> The PXML writers were changed such that they wouldn't write out data files
> for data set pieces that didn't have any points.
>
Yes, there are points in both files. It's a 2x2 mesh of Quad4 elements
split into two halves. Here are the contents of the file you mentioned.
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian"
header_type="UInt32" compressor="vtkZLibDataCompressor">
<UnstructuredGrid>
<Piece NumberOfPoints="6" NumberOfCells="2">
<PointData>
<DataArray type="Float64" Name="aux" format="ascii" RangeMin="0"
RangeMax="0">
0 0 0 0 0 0
</DataArray>
<DataArray type="Float64" Name="u" format="ascii"
RangeMin="0.074429857677" RangeMax="1.0000000002">
1.0000000002 1.0000000002 1.0000000002 0.074429857677
0.074429857773 0.074429857977
</DataArray>
</PointData>
<CellData>
<DataArray type="Int32" Name="libmesh_elem_id" format="ascii"
RangeMin="1" RangeMax="3">
1 3
</DataArray>
<DataArray type="Int32" Name="subdomain_id" format="ascii"
RangeMin="0" RangeMax="0">
0 0
</DataArray>
<DataArray type="Int32" Name="processor_id" format="ascii"
RangeMin="1" RangeMax="1">
1 1
</DataArray>
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3"
format="ascii" RangeMin="0.5" RangeMax="1.4142135624">
1 0 0 1 0.5 0
1 1 0 0.5 0 0
0.5 0.5 0 0.5 1 0
</DataArray>
</Points>
<Cells>
<DataArray type="Int64" Name="connectivity" format="ascii"
RangeMin="0" RangeMax="5">
3 0 1 4 4 1
2 5
</DataArray>
<DataArray type="Int64" Name="offsets" format="ascii" RangeMin="4"
RangeMax="8">
4 8
</DataArray>
<DataArray type="UInt8" Name="types" format="ascii" RangeMin="9"
RangeMax="9">
9 9
</DataArray>
</Cells>
</Piece>
</UnstructuredGrid>
</VTKFile>
--
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161205/969c4eaf/attachment.html>
More information about the vtkusers
mailing list