Lines Matching refs:diagIdx
2223 PetscInt *diagIdx, *offdiagIdx; in MatGetRowMinAbs_MPIAIJ() local
2252 PetscCall(PetscMalloc2(m, &diagIdx, m, &offdiagIdx)); in MatGetRowMinAbs_MPIAIJ()
2255 PetscCall(MatGetRowMinAbs(mat->A, diagV, diagIdx)); in MatGetRowMinAbs_MPIAIJ()
2310 if (idx) idx[r] = cstart + diagIdx[r]; in MatGetRowMinAbs_MPIAIJ()
2314 if (cstart + diagIdx[r] <= offdiagIdx[r]) { in MatGetRowMinAbs_MPIAIJ()
2315 idx[r] = cstart + diagIdx[r]; in MatGetRowMinAbs_MPIAIJ()
2329 PetscCall(PetscFree2(diagIdx, offdiagIdx)); in MatGetRowMinAbs_MPIAIJ()
2339 PetscInt *diagIdx, *offdiagIdx; in MatGetRowMin_MPIAIJ() local
2368 PetscCall(PetscCalloc2(m, &diagIdx, m, &offdiagIdx)); in MatGetRowMin_MPIAIJ()
2371 PetscCall(MatGetRowMin(mat->A, diagV, diagIdx)); in MatGetRowMin_MPIAIJ()
2426 if (idx) idx[r] = cstart + diagIdx[r]; in MatGetRowMin_MPIAIJ()
2430 if (cstart + diagIdx[r] <= offdiagIdx[r]) { in MatGetRowMin_MPIAIJ()
2431 idx[r] = cstart + diagIdx[r]; in MatGetRowMin_MPIAIJ()
2445 PetscCall(PetscFree2(diagIdx, offdiagIdx)); in MatGetRowMin_MPIAIJ()
2455 PetscInt *diagIdx, *offdiagIdx; in MatGetRowMax_MPIAIJ() local
2484 PetscCall(PetscMalloc2(m, &diagIdx, m, &offdiagIdx)); in MatGetRowMax_MPIAIJ()
2487 PetscCall(MatGetRowMax(mat->A, diagV, diagIdx)); in MatGetRowMax_MPIAIJ()
2542 if (idx) idx[r] = cstart + diagIdx[r]; in MatGetRowMax_MPIAIJ()
2546 if (cstart + diagIdx[r] <= offdiagIdx[r]) { in MatGetRowMax_MPIAIJ()
2547 idx[r] = cstart + diagIdx[r]; in MatGetRowMax_MPIAIJ()
2561 PetscCall(PetscFree2(diagIdx, offdiagIdx)); in MatGetRowMax_MPIAIJ()