Lines Matching refs:rbegin
609 static PetscErrorCode MatNestGetBlock_Private(Mat A, PetscInt rbegin, PetscInt rend, PetscInt cbegi… in MatNestGetBlock_Private() argument
613 PetscInt i, j, k, l, nr = rend - rbegin, nc = cend - cbegin; in MatNestGetBlock_Private()
620 …k_%" PetscInt_FMT "-%" PetscInt_FMT "x%" PetscInt_FMT "-%" PetscInt_FMT, rbegin, rend, cbegin, cen… in MatNestGetBlock_Private()
627 a[i * nc + j] = vs->m[rbegin + i][cbegin + j]; in MatNestGetBlock_Private()
646 PetscCall(MatNestFillEmptyMat_Private(A, rbegin + i, cbegin + j, a + i * nc + j)); in MatNestGetBlock_Private()
667 PetscInt rbegin, rend, cbegin, cend; in MatNestFindSubMat() local
670 PetscCall(MatNestFindISRange(A, vs->nr, is->row, isrow, &rbegin, &rend)); in MatNestFindSubMat()
672 if (rend == rbegin + 1 && cend == cbegin + 1) { in MatNestFindSubMat()
673 …if (!vs->m[rbegin][cbegin]) PetscCall(MatNestFillEmptyMat_Private(A, rbegin, cbegin, vs->m[rbegin]… in MatNestFindSubMat()
674 *B = vs->m[rbegin][cbegin]; in MatNestFindSubMat()
675 } else if (rbegin != -1 && cbegin != -1) { in MatNestFindSubMat()
676 PetscCall(MatNestGetBlock_Private(A, rbegin, rend, cbegin, cend, B)); in MatNestFindSubMat()