#include <petscsys.h> PetscErrorCode PetscObjectQueryFunction(PetscObject obj,const char name[],void (**fptr)(void))Logically Collective on PetscObject
obj | - the PETSc object; this must be cast with (PetscObject), for example, PetscObjectQueryFunction((PetscObject)ksp,...); | |
name | - name associated with the child function |