#include "petscsys.h" PetscErrorCode PetscFindMPIInt(PetscMPIInt key, PetscInt n, const PetscMPIInt X[], PetscInt *loc)Not Collective
key | - the integer to locate | |
n | - number of values in the array | |
X | - array of integers |
loc | - the location if found, otherwise -(slot+1) where slot is the place the value would go |