#include "petscpf.h" PetscErrorCode PFRegister(const char sname[],PetscErrorCode (*function)(PF,void*))Not collective Many br
name_solver | - name of a new user-defined solver Many br | |
routine_create | - routine to create method context Many br |
PFRegister("my_function",MyFunctionSetCreate);Many br
Then, your solver can be chosen with the procedural interface via Many br
PFSetType(pf,"my_function")or at runtime via the option Many br
-pf_type my_function
Many br
Level:advanced
Location:src/vec/pf/interface/pf.c
Index of all PF routines
Table of Contents for all manual pages
Index of all manual pages