#include "petscvec.h" PetscErrorCode VecTaggerCreate(MPI_Comm comm,VecTagger *tagger)Once a VecTagger is created (VecTaggerCreate()), optionally modified by options (VecTaggerSetFromOptions()), and set up (VecTaggerSetUp()), it is applied to vectors with VecTaggerComputeIS() to comute the selected index sets.
In many cases, the selection criteria for an index is whether the corresponding value falls within a collection of boxes: for this common case, VecTaggerCreateBoxes() can also be used to determine those boxes.
Provided implementations support tagging based on a box/interval of values (VECTAGGERABSOLUTE), based on a box of values of relative to the range of values present in the vector (VECTAGGERRELATIVE), based on where values fall in the cumulative distribution of values in the vector (VECTAGGERCDF), and based on unions (VECTAGGEROR) or intersections (VECTAGGERAND) of other criteria.
Collective
Level:advanced
Location:src/vec/vec/utils/tagger/interfacetagger.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages