Hi All,

I'm trying to get Paraview (5.0.0) to read *.xmf-files and encounter difficulties when the geometry is "empty". Paraview is then crashing. The example I'm using to encounter the error looks as follows:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude"; Version="2.2">
  <Domain>
    <Grid GridType="Uniform">
      <Topology TopologyType="Triangle" Dimensions="0">
      </Topology>
      <Geometry GeometryType="XYZ" Dimensions="0">
      </Geometry>
    </Grid>
  </Domain>
</Xdmf>

How is an empty xdmf geometry supposed to be specified?

One workaround is to add a dummy point e.g.

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude"; Version="2.2">
  <Domain>
    <Grid GridType="Uniform">
      <Topology TopologyType="Triangle" Dimensions="0">
      </Topology>
      <Geometry GeometryType="XYZ">
<DataItem Dimensions="1 3" NumberType="Float" Precision="4" Format="XML">
0 0 0
</DataItem>
      </Geometry>
    </Grid>
  </Domain>
</Xdmf>

Will I have to settle with this workaround? How is an empty geometry supposed to be specified?

--
*Tommy Andersson*
Computational Engineering and Design
Fraunhofer-Chalmers Centre (FCC)

Phone: +46 (0)31 772 4288
tommy.anders...@fcc.chalmers.se
www.fcc.chalmers.se
_______________________________________________
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