Searched refs:isorted (Results 1 – 1 of 1) sorted by relevance
4566 PetscBool isorted; in MatSetPreallocationCOO_SeqAIJ() local4577 isorted = PETSC_TRUE; in MatSetPreallocationCOO_SeqAIJ()4581 if (isorted) { in MatSetPreallocationCOO_SeqAIJ()4582 if (i[k] < iprev) isorted = PETSC_FALSE; in MatSetPreallocationCOO_SeqAIJ()4589 if (!isorted) PetscCall(PetscSortIntWithIntCountArrayPair(coo_n, i, j, perm)); in MatSetPreallocationCOO_SeqAIJ()