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

ISGetMinMax

Gets the minimum and maximum values in an IS

Synopsis

#include "petscis.h" 
PetscErrorCode  ISGetMinMax(IS is,PetscInt *min,PetscInt *max)
Not Collective

Input Parameter

is -the index set

Output Parameter

min - the minimum value
max - the maximum value

Notes: Empty index sets return min=PETSC_MAX_INT and max=PETSC_MIN_INT.

See Also

ISGetIndices(), ISRestoreIndices(), ISGetIndicesF90()

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