:orphan: # DMGetEnclosureRelation Get the relationship between `dmA` and `dmB` ## Synopsis ``` #include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMGetEnclosureRelation(DM dmA, DM dmB, DMEnclosureType *rel) ``` ## Input Parameters - ***dmA -*** The first `DM` - ***dmB -*** The second `DM` ## Output Parameter - ***rel -*** The relation of `dmA` to `dmB` ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMGetEnclosurePoint()` ## Level intermediate ## Location 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)