petsc-3.11.4 2019-09-28
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
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