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 Parameters#
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
See Also#
Level#
intermediate
Location#
Examples#
Implementations#
ISLocate_Block() in src/vec/is/is/impls/block/block.c
ISLocate_General() in src/vec/is/is/impls/general/general.c
ISLocate_Stride() in src/vec/is/is/impls/stride/stride.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages