:orphan:
# DMMoabGetLocalElements
Get the higher-dimensional entities that are locally owned
## Synopsis
```
#include "petscdmmoab.h"
PetscErrorCode DMMoabGetLocalElements(DM dm, const moab::Range **range)
```
Collective
## Input Parameter
- ***dm -*** The DMMoab object being set
## Output Parameter
- ***range -*** The entities owned locally
## 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)