[petsc-users] CGNS

Matthew Knepley knepley at gmail.com
Mon Jun 10 13:36:31 CDT 2013


On Mon, Jun 10, 2013 at 7:22 PM, Konstantinos Kontzialis <
ckontzialis at lycos.com> wrote:

> On 6/10/2013 2:19 PM, Satish Balay wrote:
>
>> On Mon, 10 Jun 2013, Konstantinos Kontzialis wrote:
>>
>>  On 6/10/2013 2:00 PM, petsc-users-request at mcs.anl.**gov<petsc-users-request at mcs.anl.gov>wrote:
>>>
>>>> Message: 1
>>>> Date: Mon, 10 Jun 2013 11:15:28 -0500
>>>> From: Karl Rupp <rupp at mcs.anl.gov>
>>>> To: petsc-users at mcs.anl.gov
>>>> Subject: Re: [petsc-users] CGNS
>>>> Message-ID: <51B5FBA0.90509 at mcs.anl.gov>
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>
>>>> Hi Kostas,
>>>>
>>>> do you mean CGNS as a mesh file format for DMPlex?
>>>>
>>>> Best regards,
>>>> Karli
>>>>
>>>>
>>>> On 06/10/2013 10:14 AM, Konstantinos Kontzialis wrote:
>>>>
>>>>> Dear all,
>>>>>
>>>>>     How do I install PETSc with support for cgns?
>>>>>
>>>>> Kostas
>>>>>
>>>> Yes Karl.
>>>
>> Is this what you are looking for?
>>
>> https://www.mcs.anl.gov/petsc/**petsc-current/docs/**manualpages/DM/**
>> DMPlexCreateCGNS.html<https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexCreateCGNS.html>
>>
>> PetscErrorCode DMPlexCreateCGNS(MPI_Comm comm, PetscInt cgid, PetscBool
>> interpolate, DM *dm)
>>
>> Matt,
>>
>> Perhaps  'cgid' should be 'int' - and not 'PetscInt'?
>>
>> Satish
>>
> No, I need to know how to configure petsc in order to use the cgns format
> with it.
>

It does not work yet. I wrote it so Jed could test it. You have to manually
define PETSC_HAVE_CGNS
and add the relevant libraries.

   Matt

-- 
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/20130610/e02776d0/attachment.html>


More information about the petsc-users mailing list