#include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMRegister(const char sname[],PetscErrorCode (*function)(DM))Not Collective Many br
name | - The name of a new user-defined creation routine Many br | |
create_func | - The creation routine itself Many br |
DMRegister("my_da", MyDMCreate);Many br
Then, your DM type can be chosen with the procedural interface via Many br
DMCreate(MPI_Comm, DM *); DMSetType(DM,"my_da");Many bror at runtime via the option Many br
-da_type my_daMany br
Many br
Level:advanced
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages