<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 22, 2015 at 11:12 AM, Fande Kong <span dir="ltr"><<a href="mailto:fdkong.jd@gmail.com" target="_blank">fdkong.jd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Anybody here has experiences on using DMPlexCreateFluentFromFile? I was wondering this function works with a binary or a ascii file? What is the format of the input file, '.cas' or '.msh'? Could you possibly share a sample input file (smaller is better) with me?</div></div></blockquote><div><br></div><div>1) You can just use DMPlexCreateFromFile()</div><div><br></div><div>2) It supports binary .cas files</div><div><br></div><div>3) There is a sample mesh in share/petsc/datafiles/meshes/square.cas</div><div><br></div><div> Thanks, </div><div><br></div><div>     Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks,</div><div><br></div><div>Fande Kong,</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="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>