Home
last modified time | relevance | path

Searched refs:sortedLocal (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/is/impls/block/
H A Dblock.c233 PetscBool sortedLocal; in ISUniqueLocal_Block() local
240 PetscCall(ISGetInfo(is, IS_SORTED, IS_LOCAL, PETSC_TRUE, &sortedLocal)); in ISUniqueLocal_Block()
241 if (!sortedLocal) { in ISUniqueLocal_Block()
259 PetscBool sortedLocal; in ISPermutationLocal_Block() local
266 PetscCall(ISGetInfo(is, IS_SORTED, IS_LOCAL, PETSC_TRUE, &sortedLocal)); in ISPermutationLocal_Block()
267 if (!sortedLocal) { in ISPermutationLocal_Block()
/petsc/src/vec/is/is/interface/
H A Dindex.c498 PetscBool sortedLocal = PETSC_FALSE; in ISGetInfo_Sorted_Private() local
503 PetscCall(ISGetInfo(is, IS_SORTED, IS_LOCAL, PETSC_TRUE, &sortedLocal)); in ISGetInfo_Sorted_Private()
505 PetscUseTypeMethod(is, sortedlocal, &sortedLocal); in ISGetInfo_Sorted_Private()
513 PetscCall(PetscSortedInt(n, idx, &sortedLocal)); in ISGetInfo_Sorted_Private()
518 *flg = sortedLocal; in ISGetInfo_Sorted_Private()
520 PetscCallMPI(MPIU_Allreduce(&sortedLocal, flg, 1, MPI_C_BOOL, MPI_LAND, comm)); in ISGetInfo_Sorted_Private()
529 if (rank && (maxprev > min)) sortedLocal = PETSC_FALSE; in ISGetInfo_Sorted_Private()
530 PetscCallMPI(MPIU_Allreduce(&sortedLocal, flg, 1, MPI_C_BOOL, MPI_LAND, comm)); in ISGetInfo_Sorted_Private()