Lines Matching refs:sorted
258 PetscErrorCode PetscSortedInt(PetscCount n, const PetscInt X[], PetscBool *sorted) in PetscSortedInt() argument
262 PetscAssertPointer(sorted, 3); in PetscSortedInt()
263 PetscSorted(n, X, *sorted); in PetscSortedInt()
283 PetscErrorCode PetscSortedInt64(PetscCount n, const PetscInt64 X[], PetscBool *sorted) in PetscSortedInt64() argument
287 PetscAssertPointer(sorted, 3); in PetscSortedInt64()
288 PetscSorted(n, X, *sorted); in PetscSortedInt64()
819 PetscErrorCode PetscSortedMPIInt(PetscCount n, const PetscMPIInt X[], PetscBool *sorted) in PetscSortedMPIInt() argument
822 PetscSorted(n, X, *sorted); in PetscSortedMPIInt()
1300 PetscBool sorted; in PetscParallelSortedInt() local
1305 sorted = PETSC_TRUE; in PetscParallelSortedInt()
1317 if (i < n) sorted = PETSC_FALSE; in PetscParallelSortedInt()
1322 if (prevmax > min) sorted = PETSC_FALSE; in PetscParallelSortedInt()
1323 PetscCallMPI(MPIU_Allreduce(&sorted, is_sorted, 1, MPI_C_BOOL, MPI_LAND, comm)); in PetscParallelSortedInt()