PetscObjectQueryFunction#

Gets a function associated with a given object.

Synopsis#

#include <petscsys.h>
PetscErrorCode PetscObjectQueryFunction(PetscObject obj,const char name[],void (**fptr)(void))

Logically Collective

Input Parameters#

Output Parameter#

  • fptr - function pointer

See Also#

PetscObjectComposeFunction(), PetscFunctionListFind(), PetscObjectCompose(), PetscObjectQuery(), PetscObject

Level#

advanced

Location#

src/sys/objects/inherit.c

Examples#

src/mat/tutorials/ex8.c


Edit on GitLab

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages