[petsc-users] Fortran bindings for functions in plex
Jed Brown
jedbrown at mcs.anl.gov
Wed Jan 1 13:39:45 CST 2014
Yaakoub El Khamra <yaakoub at tacc.utexas.edu> writes:
> Greetings
> I realize the fortran bindings are on their way but are there any tricks I
> can use to generate fortran bindings? Case in point DMLabelCreate in:
> petsc/src/dm/impls/plex/plexlabel.c .
Every public function in PETSc is supposed to have a man page. Matt has
neglected that rule in a number of places with DMPlex, but hopefully
will create the man pages before we release petsc-3.5.
Most man pages include the markup to generate Fortran stubs. Functions
that pass strings, including DMLabelCreate and all the XXSetType, need
custom bindings. You can look at the ftn-custom bindings for XXSetType
to see how it's done.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140101/cd953f7d/attachment.pgp>
More information about the petsc-users
mailing list