#include "petscsys.h" PetscErrorCode PetscFListAdd(PetscFList *fl,const char name[],const char rname[],void (*fnc)(void))Not Collective
fl | - pointer registry | |
name | - string to identify routine | |
rname | - routine name in dynamic library | |
fnc | - function pointer (optional if using dynamic libraries) |
Users who wish to register new classes for use by a particular PETSc component (e.g., SNES) should generally call the registration routine for that particular component (e.g., SNESRegisterDynamic()) instead of calling PetscFListAdd() directly.
${PETSC_ARCH}, ${PETSC_DIR}, ${PETSC_LIB_DIR}, or ${any environmental variable} occuring in pathname will be replaced with appropriate values.
Level:developer
Location:src/sys/dll/reg.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages