ISSorted

Checks the indices to determine whether they have been sorted.

Synopsis

int ISSorted(IS is, PetscTruth *flg)
Collective on IS

Input Parameter

is -the index set

Output Parameter

flg -output flag, either PETSC_TRUE if the index set is sorted, or PETSC_FALSE otherwise.

Keywords

IS, index set, sort, indices

See Also

ISSort()

Level:intermediate
Location:src/vec/is/interface/index.c
Index Set
Table of Contents