#include "petscvec.h" PetscErrorCode VecTaggerComputeBoxes(VecTagger tagger,Vec vec,PetscInt *numBoxes,VecTaggerBox **boxes)Collective on VecTagger
tagger | - the VecTagger context | |
vec | - the vec to tag |
numBoxes | - the number of boxes in the tag definition | |
boxes | - a newly allocated list of boxes. This is a flat array of (BlockSize * numBoxes) pairs that the user can free with PetscFree(). |
A value is tagged if it is in any of the boxes, unless the tagger has been inverted (see VecTaggerSetInvert()/VecTaggerGetInvert()), in which case a value is tagged if it is in none of the boxes. |