[Paraview] Attribute for grid collection

Nikolaos Beratlis nikos.beratlis at gmail.com
Wed Apr 3 22:36:17 EDT 2013


I have a domain that consists of patches of orthogonal cartesian grids in
the following XDMF file:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.2">
<Domain>
<Grid GridType="Collection">
<Grid GridType="Uniform">
<Topology TopologyType="3DRectMesh" Dimensions="     2     4     3"/>
<Geometry GeometryType="VXVYVZ">
<DataItem Dimensions="    3" NumberType="Float" Precision="4" Format="XML">
   0.0000   1.0000   2.0000
</DataItem>
<DataItem Dimensions="    4" NumberType="Float" Precision="4" Format="XML">
   0.0000   2.0944   4.1888   6.2832
</DataItem>
<DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="XML">
   1.0000   2.0000
</DataItem>
</Geometry>
</Grid>
<Grid GridType="Uniform">
<Topology TopologyType="3DRectMesh" Dimensions="     2     4     3"/>
<Geometry GeometryType="VXVYVZ">
<DataItem Dimensions="    3" NumberType="Float" Precision="4" Format="XML">
   1.0000   2.0000   3.0000
</DataItem>
<DataItem Dimensions="    4" NumberType="Float" Precision="4" Format="XML">
   0.0000   2.0944   4.1888   6.2832
</DataItem>
<DataItem Dimensions="    2" NumberType="Float" Precision="4" Format="XML">
   2.0000   3.0000
</DataItem>
</Geometry>
</Grid>
<Attribute Name="var" AttributeType="Scalar" Center="Node">
<DataItem Dimensions="48" NumberType="Float" Precision="4" Format="XML">
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
</DataItem>
</Attribute>
</Grid>
</Domain>
</Xdmf>

The grid is declared as GridType Collection. When I read it in Paraview the
grid is read correctly as shown in the attached picture, however I don't
get the values for the attribute. I think the attribute is not read at all.
Is there sth wrong with this file? How should the attribute be specified
for GridType Collection?

Thank you,

Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130403/a1c6790a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paraview_screenshot.jpg
Type: image/jpeg
Size: 260320 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130403/a1c6790a/attachment-0001.jpg>


More information about the ParaView mailing list