[petsc-users] DMPlexCreateFluentFromFile

Matthew Knepley knepley at gmail.com
Wed Jul 22 23:16:58 CDT 2015


On Wed, Jul 22, 2015 at 11:09 PM, Fande Kong <fdkong.jd at gmail.com> 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 <knepley at gmail.com>
> wrote:
>
>> 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
>>
>>  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150722/52f49a17/attachment.html>


More information about the petsc-users mailing list