:orphan:
# DMLabel
Object which encapsulates a subset of the mesh from a `DM`
## Synopsis
```
typedef struct _p_DMLabel *DMLabel;
```
## Note
A label consists of a set of points on a `DM`
## See Also
`DM`, `DMPlexCreate()`, `DMLabelCreate()`, `DMLabelView()`, `DMLabelDestroy()`, `DMPlexCreateLabel()`,
`DMLabelGetDefaultValue()`, `DMLabelSetDefaultValue()`, `DMLabelDuplicate()`, `DMLabelGetValue()`, `DMLabelSetValue()`,
`DMLabelAddStratum()`, `DMLabelAddStrata()`, `DMLabelInsertIS()`, `DMLabelGetNumValues()`, `DMLabelGetValueIS()`,
`DMLabelGetStratumSize()`, `DMLabelComputeIndex()`, `DMLabelDestroyIndex()`, `DMLabelDistribute()`, `DMLabelConvertToSection()`
## Level
developer
## Location
include/petscdmlabel.h
## Examples
src/dm/impls/plex/tutorials/ex1f90.F90
src/dm/label/tutorials/ex1.c
## Implementations
_p_DMLabel in include/petsc/private/dmlabelimpl.h
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmlabel.h)
[Index of all DMLabel routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)