#include "petscsys.h" PetscErrorCode PetscObjectSetFortranCallback(PetscObject obj,PetscFortranCallbackType cbtype,PetscFortranCallbackId *cid,void (*func)(void),void *ctx)Logically Collective
obj | - object on which to set callback | |
cbtype | - callback type (class or subtype) | |
cid | - address of callback Id, updated if not yet initialized (zero) | |
func | - Fortran function | |
ctx | - Fortran context |