On Wed, Jul 22, 2015 at 11:09 PM, Fande Kong <[email protected]> wrote:
> Hi Matt, > > Thank you very much. You mean that the fluent reader supports both ascii > and binary files? > Yes. Matt > Fande Kong, > > On Wed, Jul 22, 2015 at 11:33 AM, Matthew Knepley <[email protected]> > wrote: > >> On Wed, Jul 22, 2015 at 11:12 AM, Fande Kong <[email protected]> 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 >> >> Thanks, >> >> Matt >> >> Thanks, >>> >>> 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 >> > > -- 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
