#include "petscfv.h" PetscErrorCode PetscFVRegister(const char sname[], PetscErrorCode (*function)(PetscFV))Not Collective Many br
name | - The name of a new user-defined creation routine Many br | |
create_func | - The creation routine itself Many br |
PetscFVRegister("my_fv", MyPetscFVCreate);Many br
Then, your PetscFV type can be chosen with the procedural interface via Many br
PetscFVCreate(MPI_Comm, PetscFV *); PetscFVSetType(PetscFV, "my_fv");Many bror at runtime via the option Many br
-petscfv_type my_fvMany br
Many br
Level:advanced
Location:src/dm/dt/interface/dtfv.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages