If the tagged index sets are based on boxes that can be returned by VecTaggerComputeBoxes(), then this option inverts values used to compute the IS, i.e., from being in the union of the boxes to being in the intersection of their exteriors.


#include "petscvec.h" 
PetscErrorCode VecTaggerSetInvert(VecTagger tagger, PetscBool invert)
Logically Collective

Input Arguments

tagger - vec tagger
invert - PETSC_TRUE to invert, PETSC_FALSE to use the indices as is

Level: advanced

See Also

VecTaggerComputeIS(), VecTaggerGetInvert()