Searched refs:strictly_sorted (Results 1 – 1 of 1) sorted by relevance
4610 PetscBool strictly_sorted; // this row is strictly sorted? in MatSetPreallocationCOO_SeqAIJ() local4617 strictly_sorted = PETSC_TRUE; in MatSetPreallocationCOO_SeqAIJ()4619 if (strictly_sorted) { in MatSetPreallocationCOO_SeqAIJ()4620 if (j[k] <= jprev) strictly_sorted = PETSC_FALSE; in MatSetPreallocationCOO_SeqAIJ()4632 if (strictly_sorted) { // fast path to swap the first and the diag in MatSetPreallocationCOO_SeqAIJ()4659 … if (!strictly_sorted) PetscCall(PetscSortIntWithCountArray(end - start, j + start, perm + start)); in MatSetPreallocationCOO_SeqAIJ()4662 if (strictly_sorted) { // fast path to set Aj[], jmap[], Ai[], nnz, q in MatSetPreallocationCOO_SeqAIJ()