On Mon, Jun 8, 2015 at 9:17 PM, Adrian Croucher <[email protected]> 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: [email protected] > 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
