petsc-3.8.4 2018-03-24
Report Typos and Errors

VecTaggerComputeIS

Use a VecTagger context to tag a set of indices based on a vector's values

Synopsis

#include "petscvec.h" 
PetscErrorCode VecTaggerComputeIS(VecTagger tagger,Vec vec,IS *is)
Collective on VecTagger

Input Aguments

tagger - the VecTagger context
vec - the vec to tag

Output Arguments

IS -a list of the indices tagged by the tagger, i.e., if the number of local indices will be n / bs, where n is VecGetLocalSize() and bs is VecTaggerGetBlockSize().

See Also

VecTaggerComputeBoxes()

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

Examples

src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html
src/ts/examples/tutorials/ex11.c.html