# DMPlexCreateOverlapLabel
Compute a label indicating what overlap points should be sent to new processes 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexCreateOverlapLabel(DM dm, PetscInt levels, PetscSection rootSection, IS rootrank, PetscSection leafSection, IS leafrank, DMLabel *ovLabel)
```
Collective on dm


## Input Parameters

- ***dm          -*** The DM
- ***levels      -*** Number of overlap levels
- ***rootSection -*** The number of leaves for a given root point
- ***rootrank    -*** The rank of each edge into the root point
- ***leafSection -*** The number of processes sharing a given leaf point
- ***leafrank    -*** The rank of each process sharing a leaf point



## Output Parameter

- ***ovLabel     -*** DMLabel containing remote overlap contributions as point/rank pairings





## See Also
 `DMPlexCreateOverlapLabelFromLabels()`, `DMPlexGetAdjacency()`, `DMPlexDistributeOwnership()`, `DMPlexDistribute()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexdistribute.c.html#DMPlexCreateOverlapLabel">src/dm/impls/plex/plexdistribute.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexdistribute.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
