[petsc-users] DMPlexCreateFluentFromFile

Matthew Knepley knepley at gmail.com
Wed Jul 22 12:33:25 CDT 2015

On Wed, Jul 22, 2015 at 11:12 AM, Fande Kong <fdkong.jd at gmail.com> wrote:

> Hi all,
> 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?

1) You can just use DMPlexCreateFromFile()

2) It supports binary .cas files

3) There is a sample mesh in share/petsc/datafiles/meshes/square.cas



> Fande Kong,

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150722/d874b7a4/attachment.html>

More information about the petsc-users mailing list