Lines Matching refs:cbegin
609 … MatNestGetBlock_Private(Mat A, PetscInt rbegin, PetscInt rend, PetscInt cbegin, PetscInt cend, Ma… in MatNestGetBlock_Private() argument
613 PetscInt i, j, k, l, nr = rend - rbegin, nc = cend - cbegin; in MatNestGetBlock_Private()
620 …" PetscInt_FMT "-%" PetscInt_FMT "x%" PetscInt_FMT "-%" PetscInt_FMT, rbegin, rend, cbegin, cend)); 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
671 PetscCall(MatNestFindISRange(A, vs->nc, is->col, iscol, &cbegin, &cend)); 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()