:orphan:
# DMMoabGetVecTag
Get the MOAB tag associated with this Vec 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetVecTag(Vec vec, moab::Tag *tag)
```

## Input Parameter

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



## Output Parameter

- ***tag -*** Tag associated with this Vec. NULL if vec is a native PETSc Vec.





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

## Level
beginner

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