[petsc-dev] DMPlexCreateExodusFromFile() fortran interface

Matthew Knepley knepley at gmail.com
Wed Jun 4 14:20:18 CDT 2014


On Tue, Jun 3, 2014 at 6:42 PM, Adrian Croucher <a.croucher at auckland.ac.nz>
wrote:

>
> On 03/06/14 22:39, Matthew Knepley wrote:
>
>
> Looks like there are other missing Fortran interfaces:
>>
>> DMSetNumFields()
>> DMSetField()
>>
>> PetscFVSetNumComponents()
>> PetscFVSetSpatialDimension()
>>
>> I have a feeling I might find more yet...
>
>
>  I have added all these.
>
>
> Thanks a lot Matt!
>
> DMSetField() and the PetscFV ones seem to be OK now. For some reason I'm
> still getting an 'undefined reference' to DMSetNumFields() though.
>

You don't need this, just remove the call.


> Here are a few more I found that appear to be missing:
>
> DMPlexTSGetGeometry()
>

Added.


> DMPlexTSSetRHSFunctionLocal()
>

This is the problematic one. We need a fair amount of scaffolding to get
Fortran function pointers
working. I put it on the list.


> PetscSectionSetConstraintIndices()
>

This needs an F90 interface, which I am working on now.

  Thanks,

     Matt


>
> Cheers, Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
>


-- 
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-dev/attachments/20140604/4b04d841/attachment.html>


More information about the petsc-dev mailing list