#include "petscvec.h" PetscErrorCode VecWhichBetween(Vec VecLow, Vec V, Vec VecHigh, IS *S)Collective on S
VecLow | - lower bound | |
V | - Vector to compare | |
VecHigh | - higher bound |
S | - The index set containing the indices i where veclow[i] < v[i] < vechigh[i] |
For complex numbers this only compares the real part
Level: advanced
Location:projection.c