:orphan:
# DMMoabGetVecRange
Get the MOAB entities associated with this Vec 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetVecRange(Vec vec, moab::Range *range)
```

## Input Parameter

- ***vec   -*** Vec being queried



## Output Parameter

- ***range -*** Entities associated with this Vec. NULL if vec is a native PETSc Vec.





## See Also
 `DMMoabCreateVector()`, `DMMoabGetVecTag()`

## Level
beginner

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmbvec.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)  
