:orphan: # VecTaggerSetType set the Vec tagger implementation ## Synopsis ``` #include "petscvec.h" PetscErrorCode VecTaggerSetType(VecTagger tagger, VecTaggerType type) ``` Collective ## Input Parameters - ***tagger -*** the `VecTagger` context - ***type -*** a known method ## Options Database Key - ***-vec_tagger_type -*** Sets the method; use -help for a list of available methods (for instance, absolute, relative, cdf, or, and) ## Notes See "include/petscvec.h" for available methods (for instance) - ***`VECTAGGERABSOLUTE` -*** tag based on a box of values - ***`VECTAGGERRELATIVE` -*** tag based on a box relative to the range of values present in the vector - ***`VECTAGGERCDF` -*** tag based on a box in the cumulative distribution of values present in the vector - ***`VECTAGGEROR` -*** tag based on the union of a set of `VecTagger` contexts - ***`VECTAGGERAND` -*** tag based on the intersection of a set of other `VecTagger` contexts ## See Also `VecTaggerType`, `VecTaggerCreate()`, `VecTagger` ## Level advanced ## Location src/vec/vec/utils/tagger/interface/tagger.c ## Examples src/ts/tutorials/ex11.c
src/vec/vec/utils/tagger/tutorials/ex1.c
--- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)