<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">hi
all. having some trouble getting paraview to talk to my xdmf files.
seems to work fine when using the XYZ geometry type, but things fall
apart when i attempted to use the XY geometry. for instance the
following works fine:
<br>
<br>
<?xml version="1.0" ?>
<br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<br>
<Xdmf>
<br>
<Domain>
<br>
<Grid Name="TestGrid">
<br>
<Topology Type="Hexahedron" NumberOfElements="2" >
<br>
<DataItem Format="XML" DataType="Float"
<br>
Dimensions="2 8">
<br>
0 1 7 6 3 4 10 9
<br>
1 2 8 7 4 5 11 10
<br>
</DataItem>
<br>
</Topology>
<br>
<Geometry Type="XYZ">
<br>
<DataItem Format="XML" DataType="Float"
Precision="8"
<br>
Dimensions="12 3">
<br>
0.0 0.0 1.0
<br>
1.0 0.0 1.0
<br>
3.0 0.0 2.0
<br>
0.0 1.0 1.0
<br>
1.0 1.0 1.0
<br>
3.0 2.0 2.0
<br>
0.0 0.0 -1.0
<br>
1.0 0.0 -1.0
<br>
3.0 0.0 -2.0
<br>
0.0 1.0 -1.0
<br>
1.0 1.0 -1.0
<br>
3.0 2.0 -2.0
<br>
</DataItem>
<br>
</Geometry>
<br>
<Attribute Name="NodeValues" Center="Node">
<br>
<DataItem Format="XML" DataType="Float" Precision="8"
<br>
Dimensions="4 3" >
<br>
100 200 300
<br>
300 400 500
<br>
300 400 500
<br>
500 600 700
<br>
</DataItem>
<br>
</Attribute>
<br>
<Attribute Name="CellValues" Center="Cell">
<br>
<DataItem Format="XML" DataType="Float" Precision="8"
<br>
Dimensions="2" >
<br>
100 200
<br>
</DataItem>
<br>
</Attribute>
<br>
</Grid>
<br>
</Domain>
<br>
</Xdmf>
<br>
<br>
<br>
but this does not work:
<br>
<br>
<?xml version="1.0" ?>
<br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<br>
<Xdmf>
<br>
<Domain>
<br>
<Grid Name="TestGrid">
<br>
<Topology Type="Quadrilateral" NumberOfElements="2" >
<br>
<DataItem Format="XML" DataType="Int"
<br>
Dimensions="2 4">
<br>
0 1 3 4
<br>
1 2 4 5
<br>
</DataItem>
<br>
</Topology>
<br>
<Geometry Type="XY">
<br>
<DataItem Format="XML" DataType="Float"
Precision="8"
<br>
Dimensions="6 2">
<br>
0.0 0.0<br>
1.0 0.0<br>
3.0 0.0<br>
0.0 1.0 <br>
1.0 1.0 <br>
3.0 2.0 <br>
</DataItem>
<br>
</Geometry>
<br>
<Attribute Name="NodeValues" Center="Node">
<br>
<DataItem Format="XML" DataType="Float" Precision="8"
<br>
Dimensions="2 3" >
<br>
100 200 300
<br>
300 400 500
<br>
</DataItem>
<br>
</Attribute>
<br>
<Attribute Name="CellValues" Center="Cell">
<br>
<DataItem Format="XML" DataType="Float" Precision="8"
<br>
Dimensions="2" >
<br>
100 200
<br>
</DataItem>
<br>
</Attribute>
<br>
</Grid>
<br>
</Domain>
<br>
</Xdmf>
<br>
<br>
this fails with the message:<br>
<p>XDMF Error in
/home/berk/Work/ReleaseBuilds/ParaView3/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 499 (Source and Target Spaces specify different
sizes) <br>
XDMF Error in
/home/berk/Work/ReleaseBuilds/ParaView3/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 500 (Source = 12
items) <br>
XDMF Error in
/home/berk/Work/ReleaseBuilds/ParaView3/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 501 (Target = 24
items) <br>
XDMF Error in
/home/berk/Work/ReleaseBuilds/ParaView3/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 852 (Can't Read Temp Dataset) <br>
</p>
what am i missing here?
<br>
<br>
i find this behavior on linux (ubuntu) for both the bleeding edge cvs
(actually on the cvs its was occuring for a xdmf/hdf5 file but i
haven't had a chance to test it with this exclusively xml file) and the
binary tarball. <br>
<br>
<br>
<big><big></big></big><br>
</div>
</body>
</html>