# DMMoabGetDimension
Get the dimension of the DM Mesh 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetDimension(DM dm, PetscInt *dim)
```
Collective


## Input Parameter

- ***dm -*** The DMMoab object



## Output Parameter

- ***dim -*** The dimension of DM





## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmoab.cxx.html#DMMoabGetDimension">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)  
