[petsc-dev] DMPlexCreateSectionF90
Matthew Knepley
knepley at gmail.com
Wed Jul 8 10:08:41 CDT 2015
On Mon, Jun 8, 2015 at 9:17 PM, Adrian Croucher <a.croucher at auckland.ac.nz>
wrote:
> hi,
>
> I just pulled the PETSc 'next' branch and found that DMPlexCreateSection()
> has changed a bit- there's an extra bcComps parameter.
>
> While checking the manual pages I noticed there is actually a
> DMPlexCreateSectionF90(), so I tried using that instead (to avoid having to
> set up all those pointers etc.)
>
> But it gives an error: "undefined reference to 'dmplexcreatesectionf90_'"
> when I compile. Is there actually a Fortran interface for it?
>
Dang, this email got lost in my inbox. Sorry.
The function is DMPlexCreateSection() and it should work in F90. The F90
declarations are here:
https://bitbucket.org/petsc/petsc/src/1b3bc0424aba96b8d4addf4d09505230f346ce95/include/petsc/finclude/ftn-custom/petscdmplex.h90?at=master
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 84611
>
>
--
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/20150708/2e770af1/attachment.html>
More information about the petsc-dev
mailing list