petsc-3.7.1 2016-05-15
Report Typos and Errors

VecWhichBetween

Creates an index set containing the indices where VecLow < V < VecHigh

Synopsis

#include "petscvec.h"  
PetscErrorCode VecWhichBetween(Vec VecLow, Vec V, Vec VecHigh, IS *S)
Collective on S Many br

Input Parameters

VecLow - lower bound Many br
V - Vector to compare Many br
VecHigh - higher bound Many br

OutputParameter

S -The index set containing the indices i where veclow[i] < v[i] < vechigh[i] Many br

Many br

Level:advanced
Location:
src/vec/vec/utils/projection.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages