<div dir="ltr"><div><div><div><div>Hi Tommy,<br><br></div>I have tested with ParaView 5.2 and it works as expected, no crash.<br></div>Xdmf reader has been patched at different places since 5.0 and ParaView also comes with an optional Xdmf3 reader.<br></div>Thus I would recommend that you update your ParaView to 5.2.<br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-11-21 8:58 GMT-04:00 Tommy Andersson <span dir="ltr"><<a href="mailto:Tommy.Andersson@fcc.chalmers.se" target="_blank">Tommy.Andersson@fcc.chalmers.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi All,<br>
</p>
<p>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:</p>
<p><?xml version="1.0" ?><br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br>
<Xdmf xmlns:xi=<a class="m_8715724292255403696moz-txt-link-rfc2396E" href="http://www.w3.org/2003/XInclude" target="_blank">"http://www.w3.org/<wbr>2003/XInclude"</a>
Version="2.2"><br>
<Domain><br>
<Grid GridType="Uniform"><br>
<Topology TopologyType="Triangle" Dimensions="0"><br>
</Topology><br>
<Geometry GeometryType="XYZ" Dimensions="0"><br>
</Geometry><br>
</Grid><br>
</Domain><br>
</Xdmf></p>
<p>How is an empty xdmf geometry supposed to be specified?<br>
</p>
<p>One workaround is to add a dummy point e.g. <br>
</p>
<p><?xml version="1.0" ?><br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br>
<Xdmf xmlns:xi=<a class="m_8715724292255403696moz-txt-link-rfc2396E" href="http://www.w3.org/2003/XInclude" target="_blank">"http://www.w3.org/<wbr>2003/XInclude"</a>
Version="2.2"><br>
<Domain><br>
<Grid GridType="Uniform"><br>
<Topology TopologyType="Triangle" Dimensions="0"><br>
</Topology><br>
<Geometry GeometryType="XYZ"><br>
<DataItem Dimensions="1 3" NumberType="Float"
Precision="4" Format="XML"><br>
0 0 0<br>
</DataItem> <br>
</Geometry><br>
</Grid><br>
</Domain><br>
</Xdmf></p>
<p>Will I have to settle with this workaround? How is an empty
geometry supposed to be specified? <br><span class="HOEnZb"><font color="#888888">
</font></span></p><span class="HOEnZb"><font color="#888888">
<div class="m_8715724292255403696moz-signature">-- <br>
<b>Tommy Andersson</b>
<br>
Computational Engineering and Design
<br>
Fraunhofer-Chalmers Centre (FCC)
<br>
<br>
Phone: <a href="tel:%2B46%20%280%2931%20772%204288" value="+46317724288" target="_blank">+46 (0)31 772 4288</a>
<br>
<a class="m_8715724292255403696moz-txt-link-abbreviated" href="mailto:tommy.andersson@fcc.chalmers.se" target="_blank">tommy.andersson@fcc.chalmers.<wbr>se</a>
<br>
<a class="m_8715724292255403696moz-txt-link-abbreviated" href="http://www.fcc.chalmers.se" target="_blank">www.fcc.chalmers.se</a>
</div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>