Searched refs:sorted2 (Results 1 – 1 of 1) sorted by relevance
272 PetscBool sorted1 = PETSC_TRUE, sorted2 = PETSC_TRUE; in ISExpand() local310 PetscCall(ISSorted(is2, &sorted2)); in ISExpand()311 if (sorted2 && i2[0] >= 0) imin = PetscMin(imin, i2[0]), imax = PetscMax(imax, i2[n2 - 1]); in ISExpand()342 …if ((-n1 == nout && sorted1) || (n1 == 0 && sorted2)) PetscCall(ISSetInfo(*isout, IS_SORTED, IS_LO… in ISExpand()