Yaakoub El Khamra <[email protected]> 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.

Attachment: pgpkELMJPYRSu.pgp
Description: PGP signature

Reply via email to