# VecTagger
Object used to manage the tagging of a subset of indices based on the values of a vector.  The motivating application is the selection of cells for refinement or coarsening based on vector containing the values in an error indicator metric. 
## Synopsis
```
typedef struct _p_VecTagger *VecTagger;
```



## Developer Note
Why not use a `DMLabel` or similar object


## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscvec.h.html#VecTagger">include/petscvec.h</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petsc/private/vecimpl.h.html#_p_VecTagger">_p_VecTagger in include/petsc/private/vecimpl.h</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscvec.h)


[Index of all Vec routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
