:orphan:
# DMMoabGetLocalVertices
Get the entities having DOFs on this DMMoab
## Synopsis
```
#include "petscdmmoab.h"
PetscErrorCode DMMoabGetLocalVertices(DM dm, const moab::Range **owned, const moab::Range **ghost)
```
Collective
## Input Parameter
- ***dm -*** The DMMoab object being set
## Output Parameters
- ***owned -*** The owned vertex entities in this DMMoab
- ***ghost -*** The ghosted entities (non-owned) stored locally in this partition
## Level
beginner
## Location
src/dm/impls/moab/dmmoab.cxx
## Examples
src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
src/ts/tutorials/ex35.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)