#include "petscsf.h" PetscErrorCode PetscSFRegister(const char sname[],PetscErrorCode (*function)(PetscSF))Not collective
name_impl | - name of a new user-defined implementation | |
routine_create | - routine to create method context |
PetscSFRegister("my_impl",MyImplCreate);
Then, this implementation can be chosen with the procedural interface via
PetscSFSetType(sf,"my_impl")or at runtime via the option
-snes_type my_solver
Level:advanced
Location:src/vec/is/sf/interface/sfregi.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages