:orphan:
# DMEnclosureType
The type of enclosure relation between one `DM` and another 
## Synopsis
```
typedef enum {
  DM_ENC_EQUALITY,
  DM_ENC_SUPERMESH,
  DM_ENC_SUBMESH,
  DM_ENC_NONE,
  DM_ENC_UNKNOWN
} DMEnclosureType;
```

## Values

- ***`DM_ENC_SUBMESH` -*** the `DM` is the boundary of another `DM`
- ***`DM_ENC_SUPERMESH`  -*** the `DM` has the boundary of another `DM` (the reverse situation to `DM_ENC_SUBMESH`)
- ***`DM_ENC_EQUALITY` -*** unknown what this means
- ***`DM_ENC_NONE` -*** no relationship can be determined
- ***`DM_ENC_UNKNOWN`  -*** the relationship is unknown





## See Also
 `DM`, `DMGetEnclosureRelation()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscdmtypes.h.html#DMEnclosureType">include/petscdmtypes.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmtypes.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)  
