<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 16, 2017 at 9:15 PM, Adrian Croucher <span dir="ltr"><<a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>></span> wrote:<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 Matt<br>
</p>
<br>
<div class="m_7251513791071221137moz-cite-prefix">On 17/01/17 15:52, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<div>Its a DOS file and has no newline at the end. Thus,
when I read $EndElements, it has no termination and you</div>
<div>can something weird. I put a newline on that line and
its fine.</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
I don't think it is a DOS file- it was created on a Linux machine,
emacs doesn't identify it as DOS, and I tried running dos2unix on it
to make sure, but that made no difference.<br>
<br>
What does make a difference is manually adding a newline on the end.
However, that isn't super convenient when these files are being
created automatically via scripts.<br>
<br>
Would it be possible to make DMPlexCreateGmsh() a bit more robust
about the line ending at the end of the file? Gmsh itself isn't
bothered by it.</div></blockquote><div><br></div><div>Yes, that was lazy. The fix is in next.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class="HOEnZb"><font color="#888888"><br>
- Adrian<br>
<pre class="m_7251513791071221137moz-signature" cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="m_7251513791071221137moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>
tel: <a href="tel:+64%209-923%204611" value="+6499234611" target="_blank">+64 (0)9 923 4611</a>
</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>