Hello,

I am trying to create XDMF file to visualize data from hdf5 output from my program. The coordinates in hdf5 are stored as separate arrays. As first step I'd like to plot the nodes as points. So I made a simple xdmf file which mimics the data layout in my hdf5 file:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd"[]>
<Xdmf Version="3.0">
    <Domain>
        <Grid Name="Points" GridType="Uniform">

<Topology TopologyType="Polyvertex" NodesPerElement="1" NumberOfElements="4"> <DataItem Format="XML" Dimensions="4" DataType="Int" Precision="4">
                    0 1 2 3
                </DataItem>
            </Topology>

            <Geometry GeometryType="XYZ">
<DataItem ItemType="Function" Function="JOIN($0,$1,$2)" Dimensions="4 3" >
                    <DataItem Format="XML" Dimensions="4">
                        0.0 0.0 1.0 0.0
                    </DataItem>
                    <DataItem Format="XML" Dimensions="4">
                        1.0 0.0 1.0 0.0
                    </DataItem>
                    <DataItem Format="XML" Dimensions="4">
                        0.0 1.0 1.0 0.0
                    </DataItem>
                </DataItem>
            </Geometry>
        </Grid>
    </Domain>
</Xdmf>

And when I use xdmf3 reader it paraview-4.4 or 5.0RC2 exit with sigmentation fault. I did try to use GeometryType="X_Y_Z" but it didn't work out too.

In case of xdmf reader it did the job but generates following error message was: ERROR: In /home/kitware/Dashboards/buildbot/paraview-debian4dash-linux-shared-release_qt4_superbuild/source-paraview/VTK/IO/Xdmf2/vtkXdmfHeavyData.cxx, line 345 vtkXdmfReader (0x1da35d0): Cannot find DataItem element in geometry xml, no caching possible.

Am I missing something?

Thanks,
Nikolay







_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to