#include "petscis.h" PetscErrorCode ISLocate(IS is, PetscInt key, PetscInt *location)Not Collective
| is | - the index set | |
| key | - the search key |
| location | - if >= 0, a location within the index set that is equal to the key, otherwise the key is not in the index set |