[Paraview] empty xdmf-file causes paraview crash
Tommy Andersson
Tommy.Andersson at fcc.chalmers.se
Mon Nov 21 07:58:33 EST 2016
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.andersson at fcc.chalmers.se
www.fcc.chalmers.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161121/62705562/attachment.html>
More information about the ParaView
mailing list