:orphan:
# DMType
String with the name of a PETSc `DM`
## Synopsis
```
typedef const char *DMType;
#define DMDA "da"
#define DMCOMPOSITE "composite"
#define DMSLICED "sliced"
#define DMSHELL "shell"
#define DMPLEX "plex"
#define DMREDUNDANT "redundant"
#define DMPATCH "patch"
#define DMMOAB "moab"
#define DMNETWORK "network"
#define DMFOREST "forest"
#define DMP4EST "p4est"
#define DMP8EST "p8est"
#define DMSWARM "swarm"
#define DMPRODUCT "product"
#define DMSTAG "stag"
```
## See Also
[](ch_dmbase), `DMSetType()`, `DMCreate()`, `DM`
## Level
beginner
## Location
include/petscdm.h
## Examples
src/dm/impls/forest/tutorials/ex1.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdm.h)
[Index of all DM routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)