:orphan:
# DMGetEnclosurePoint
Get the point `pA` in `dmA` which corresponds to the point `pB` in `dmB` 
## Synopsis
```
#include "petscdmplex.h"    
#include "petscdmlabel.h"   
PetscErrorCode DMGetEnclosurePoint(DM dmA, DM dmB, DMEnclosureType etype, PetscInt pB, PetscInt *pA)
```

## Input Parameters

- ***dmA   -*** The first `DM`
- ***dmB   -*** The second `DM`
- ***etype -*** The type of enclosure relation that `dmA` has to `dmB`
- ***pB    -*** A point of `dmB`



## Output Parameter

- ***pA    -*** The corresponding point of `dmA`





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMGetEnclosureRelation()`

## Level
intermediate

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


---
[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)  
