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

ISLocate

determine the location of an index within the local component of an index set

Synopsis

#include "petscis.h" 
PetscErrorCode ISLocate(IS is, PetscInt key, PetscInt *location)
Not Collective

Input Parameter

is - the index set
key - the search key

Output Parameter

location -if >= 0, a location within the index set that is equal to the key, otherwise the key is not in the index set

Level:intermediate
Location:
src/vec/is/is/interface/index.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages