# DMMoabGetLocalSize
Get the local and ghosted vertex size used with this DMMoab 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetLocalSize(DM dm, PetscInt *nel, PetscInt *neg, PetscInt *nvl, PetscInt *nvg)
```
Collective on dm


## Input Parameter

- ***dm -*** The DMMoab object being set



## Output Parameters

- ***nel -*** The number of owned elements in this processor
- ***neg -*** The number of ghosted elements in this processor
- ***nvl -*** The number of owned vertices in this processor
- ***nvg -*** The number of ghosted vertices in this processor





## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmoab.cxx.html#DMMoabGetLocalSize">src/dm/impls/moab/dmmoab.cxx</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
