:orphan:
# DMPlexLabelComplete
Starting with a label marking points on a surface, we add the transitive closure to the surface
## Synopsis
```
#include "petscdmplex.h"
#include "petscdmlabel.h"
PetscErrorCode DMPlexLabelComplete(DM dm, DMLabel label)
```
## Input Parameters
- ***dm -*** The `DM`
- ***label -*** A `DMLabel` marking the surface points
## Output Parameter
- ***label -*** A `DMLabel` marking all surface points in the transitive closure
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexLabelCohesiveComplete()`
## Level
developer
## Location
src/dm/impls/plex/plexsubmesh.c
## Examples
src/snes/tutorials/ex23.c
src/snes/tutorials/ex56.c
src/tao/tutorials/ex3.c
src/ts/tutorials/ex48.c
src/ts/tutorials/ex52.c
## Implementations
DMPlexLabelComplete_Internal in src/dm/impls/plex/plexsubmesh.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexsubmesh.c)
[Index of all DMPlex routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)