Lines Matching refs:is_row
350 IS *is_row, *is_col; in MatTranspose_Nest() local
353 PetscCall(PetscMalloc2(nr, &is_row, nc, &is_col)); in MatTranspose_Nest()
354 PetscCall(MatNestGetISs(A, is_row, is_col)); in MatTranspose_Nest()
361 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)A), nc, is_col, nr, is_row, subs, &C)); in MatTranspose_Nest()
363 PetscCall(PetscFree2(is_row, is_col)); in MatTranspose_Nest()
1362 static PetscErrorCode MatNestSetSubMats_Nest(Mat A, PetscInt nr, const IS is_row[], PetscInt nc, co… in MatNestSetSubMats_Nest() argument
1408 PetscCall(MatSetUp_NestIS_Private(A, nr, is_row, nc, is_col)); in MatNestSetSubMats_Nest()
1479 PetscErrorCode MatNestSetSubMats(Mat A, PetscInt nr, const IS is_row[], PetscInt nc, const IS is_co… in MatNestSetSubMats() argument
1485 if (nr && is_row) { in MatNestSetSubMats()
1486 PetscAssertPointer(is_row, 3); in MatNestSetSubMats()
1487 for (PetscInt i = 0; i < nr; i++) PetscValidHeaderSpecific(is_row[i], IS_CLASSID, 3); in MatNestSetSubMats()
1495 …", (Mat, PetscInt, const IS[], PetscInt, const IS[], const Mat[]), (A, nr, is_row, nc, is_col, a)); in MatNestSetSubMats()
1601 static PetscErrorCode MatSetUp_NestIS_Private(Mat A, PetscInt nr, const IS is_row[], PetscInt nc, c… in MatSetUp_NestIS_Private() argument
1610 if (is_row) { /* valid IS is passed in */ in MatSetUp_NestIS_Private()
1613 PetscCall(PetscObjectReference((PetscObject)is_row[i])); in MatSetUp_NestIS_Private()
1614 vs->isglobal.row[i] = is_row[i]; in MatSetUp_NestIS_Private()
1774 PetscErrorCode MatCreateNest(MPI_Comm comm, PetscInt nr, const IS is_row[], PetscInt nc, const IS i… in MatCreateNest() argument
1780 PetscCall(MatNestSetSubMats(*B, nr, is_row, nc, is_col, a)); in MatCreateNest()