:orphan:
# DMMoabGetElementConnectivity
Get the vertex adjacency for the given entity
## Synopsis
```
#include "petscdmmoab.h"
PetscErrorCode DMMoabGetElementConnectivity(DM dm, moab::EntityHandle ehandle, PetscInt *nconn, const moab::EntityHandle **conn)
```
Collective
## Input Parameters
- ***dm -*** The DMMoab object
- ***ehandle -*** Vertex entity handle
## Output Parameters
- ***nconn -*** Number of entities whose coordinates are needed
- ***conn -*** The vertex entity handles
## See Also
`DMMoabGetVertexCoordinates()`, `DMMoabGetVertexConnectivity()`, `DMMoabRestoreVertexConnectivity()`
## Level
beginner
## Location
src/dm/impls/moab/dmmoab.cxx
## Examples
src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmoab.cxx)
[Index of all DMMOAB routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)