#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMSetType(DM dm, DMType method)Collective on dm
| dm | - The DM object | |
| method | - The name of the DM type |
| -dm_type <type> | - Sets the DM type; use -help for a list of available types |