# VecTaggerSetFromOptions
set VecTagger options using the options database 
## Synopsis
```
#include "petscvec.h" 
PetscErrorCode VecTaggerSetFromOptions(VecTagger tagger)
```
Logically Collective


## Input Parameter

- ***tagger -*** vec tagger



## Options Database Keys

- ***-vec_tagger_type       -*** implementation type, see VecTaggerSetType()
- ***-vec_tagger_block_size -*** set the block size, see VecTaggerSetBlockSize()
- ***-vec_tagger_invert     -*** invert the index set returned by VecTaggerComputeIS()





## See Also
 `VecTagger`, `VecTaggerCreate()`, `VecTaggerSetUp()`


## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/tagger/interface/tagger.c.html#VecTaggerSetFromOptions">src/vec/vec/utils/tagger/interface/tagger.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/tagger/tutorials/ex1.c.html">src/vec/vec/utils/tagger/tutorials/ex1.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11.c.html">src/ts/tutorials/ex11.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/tagger/impls/andor.c.html#VecTaggerSetFromOptions_AndOr">VecTaggerSetFromOptions_AndOr in src/vec/vec/utils/tagger/impls/andor.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/tagger/impls/cdf.c.html#VecTaggerSetFromOptions_CDF">VecTaggerSetFromOptions_CDF in src/vec/vec/utils/tagger/impls/cdf.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/tagger/impls/simple.c.html#VecTaggerSetFromOptions_Simple">VecTaggerSetFromOptions_Simple in src/vec/vec/utils/tagger/impls/simple.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/utils/tagger/interface/tagger.c)


[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)  
