Lines Matching refs:isglobal

22     PetscCall(ISGetLocalSize(bA->isglobal.row[i], &sm));  in MatNestGetSizes_Private()
23 PetscCall(ISGetSize(bA->isglobal.row[i], &sM)); in MatNestGetSizes_Private()
29 PetscCall(ISGetLocalSize(bA->isglobal.col[j], &sn)); in MatNestGetSizes_Private()
30 PetscCall(ISGetSize(bA->isglobal.col[j], &sN)); in MatNestGetSizes_Private()
45 for (i = 0; i < nr; i++) PetscCall(VecGetSubVector(y, bA->isglobal.row[i], &by[i])); in MatMult_Nest()
46 for (i = 0; i < nc; i++) PetscCall(VecGetSubVector(x, bA->isglobal.col[i], &bx[i])); in MatMult_Nest()
55 for (i = 0; i < nr; i++) PetscCall(VecRestoreSubVector(y, bA->isglobal.row[i], &by[i])); in MatMult_Nest()
56 for (i = 0; i < nc; i++) PetscCall(VecRestoreSubVector(x, bA->isglobal.col[i], &bx[i])); in MatMult_Nest()
67 for (i = 0; i < nr; i++) PetscCall(VecGetSubVector(z, bA->isglobal.row[i], &bz[i])); in MatMultAdd_Nest()
68 for (i = 0; i < nc; i++) PetscCall(VecGetSubVector(x, bA->isglobal.col[i], &bx[i])); in MatMultAdd_Nest()
72 PetscCall(VecGetSubVector(y, bA->isglobal.row[i], &by)); in MatMultAdd_Nest()
74 PetscCall(VecRestoreSubVector(y, bA->isglobal.row[i], &by)); in MatMultAdd_Nest()
82 for (i = 0; i < nr; i++) PetscCall(VecRestoreSubVector(z, bA->isglobal.row[i], &bz[i])); in MatMultAdd_Nest()
83 for (i = 0; i < nc; i++) PetscCall(VecRestoreSubVector(x, bA->isglobal.col[i], &bx[i])); in MatMultAdd_Nest()
124 PetscCall(ISGetSize(bA->isglobal.row[i], &M)); in MatProductNumeric_Nest_Dense()
129 PetscCall(ISGetSize(bA->isglobal.col[j], &M)); in MatProductNumeric_Nest_Dense()
211 PetscCall(ISGetLocalSize(bA->isglobal.row[i], contents->dm + i + 1)); in MatProductSymbolic_Nest_Dense()
216 PetscCall(ISGetLocalSize(bA->isglobal.col[i], contents->dn + i + 1)); in MatProductSymbolic_Nest_Dense()
225 PetscCall(ISGetSize(bA->isglobal.col[j], &M)); in MatProductSymbolic_Nest_Dense()
268 for (i = 0; i < nr; i++) PetscCall(VecGetSubVector(x, bA->isglobal.row[i], &bx[i])); in MatMultTransposeKernel_Nest()
269 for (i = 0; i < nc; i++) PetscCall(VecGetSubVector(y, bA->isglobal.col[i], &by[i])); in MatMultTransposeKernel_Nest()
278 for (i = 0; i < nr; i++) PetscCall(VecRestoreSubVector(x, bA->isglobal.row[i], &bx[i])); in MatMultTransposeKernel_Nest()
279 for (i = 0; i < nc; i++) PetscCall(VecRestoreSubVector(y, bA->isglobal.col[i], &by[i])); in MatMultTransposeKernel_Nest()
304 for (i = 0; i < nr; i++) PetscCall(VecGetSubVector(x, bA->isglobal.row[i], &bx[i])); in MatMultTransposeAddKernel_Nest()
305 for (i = 0; i < nc; i++) PetscCall(VecGetSubVector(z, bA->isglobal.col[i], &bz[i])); in MatMultTransposeAddKernel_Nest()
309 PetscCall(VecGetSubVector(y, bA->isglobal.col[j], &by)); in MatMultTransposeAddKernel_Nest()
311 PetscCall(VecRestoreSubVector(y, bA->isglobal.col[j], &by)); in MatMultTransposeAddKernel_Nest()
319 for (i = 0; i < nr; i++) PetscCall(VecRestoreSubVector(x, bA->isglobal.row[i], &bx[i])); in MatMultTransposeAddKernel_Nest()
320 for (i = 0; i < nc; i++) PetscCall(VecRestoreSubVector(z, bA->isglobal.col[i], &bz[i])); in MatMultTransposeAddKernel_Nest()
408 PetscCall(MatNestDestroyISList(vs->nr, &vs->isglobal.row)); in MatReset_Nest()
409 PetscCall(MatNestDestroyISList(vs->nc, &vs->isglobal.col)); in MatReset_Nest()
596 PetscCall(ISGetLocalSize(vs->isglobal.row[i], &lr)); in MatNestFillEmptyMat_Private()
597 PetscCall(ISGetLocalSize(vs->isglobal.col[j], &lc)); in MatNestFillEmptyMat_Private()
651 …mm((PetscObject)A), nr, nr != vs->nr ? NULL : vs->isglobal.row, nc, nc != vs->nc ? NULL : vs->isgl… in MatNestGetBlock_Private()
690 PetscCall(MatNestFindSubMat(A, &vs->isglobal, isrow, iscol, &sub)); in MatCreateSubMatrix_Nest()
743 PetscCall(VecGetSubVector(v, bA->isglobal.row[i], &bv)); in MatGetDiagonal_Nest()
749 PetscCall(VecRestoreSubVector(v, bA->isglobal.row[i], &bv)); in MatGetDiagonal_Nest()
763 for (j = 0; j < bA->nc; j++) PetscCall(VecGetSubVector(r, bA->isglobal.col[j], &br[j])); in MatDiagonalScale_Nest()
767 if (l) PetscCall(VecGetSubVector(l, bA->isglobal.row[i], &bl)); in MatDiagonalScale_Nest()
771 if (l) PetscCall(VecRestoreSubVector(l, bA->isglobal.row[i], &bl)); in MatDiagonalScale_Nest()
774 for (j = 0; j < bA->nc; j++) PetscCall(VecRestoreSubVector(r, bA->isglobal.col[j], &br[j])); in MatDiagonalScale_Nest()
823 PetscCall(VecGetSubVector(D, bA->isglobal.row[i], &bv)); in MatDiagonalSet_Nest()
828 PetscCall(VecRestoreSubVector(D, bA->isglobal.row[i], &bv)); in MatDiagonalSet_Nest()
872 PetscCall(VecCreateNest(comm, bA->nc, bA->isglobal.col, R, right)); in MatCreateVecs_Nest()
892 PetscCall(VecCreateNest(comm, bA->nr, bA->isglobal.row, L, left)); in MatCreateVecs_Nest()
1049 …PetscCall(MatCreateNest(PetscObjectComm((PetscObject)A), nr, bA->isglobal.row, nc, bA->isglobal.co… in MatDuplicate_Nest()
1111 PetscCall(ISGetLocalSize(bA->isglobal.row[idxm], &mi)); in MatNestSetSubMat_Nest()
1112 PetscCall(ISGetSize(bA->isglobal.row[idxm], &Mi)); in MatNestSetSubMat_Nest()
1113 PetscCall(ISGetLocalSize(bA->isglobal.col[jdxm], &ni)); in MatNestSetSubMat_Nest()
1114 PetscCall(ISGetSize(bA->isglobal.col[jdxm], &Ni)); in MatNestSetSubMat_Nest()
1254 for (i = 0; i < vs->nr; i++) rows[i] = vs->isglobal.row[i]; in MatNestGetISs_Nest()
1256 for (i = 0; i < vs->nc; i++) cols[i] = vs->isglobal.col[i]; in MatNestGetISs_Nest()
1437 …for (i = 0; cong && i < nr; i++) PetscCall(ISEqualUnsorted(s->isglobal.row[i], s->isglobal.col[i],… in MatNestSetSubMats_Nest()
1499 …ateAggregateL2G_Private(Mat A, PetscInt n, const IS islocal[], const IS isglobal[], PetscBool colf… in MatNestCreateAggregateL2G_Private() argument
1511 PetscCall(ISGetLocalSize(isglobal[i], &mi)); in MatNestCreateAggregateL2G_Private()
1541 PetscCall(ISGetIndices(isglobal[i], &ix2)); in MatNestCreateAggregateL2G_Private()
1559 PetscCall(ISGetLocalSize(isglobal[i], &mil)); in MatNestCreateAggregateL2G_Private()
1571 PetscCall(ISGetLocalSize(isglobal[i], &mi)); in MatNestCreateAggregateL2G_Private()
1574 PetscCall(ISRestoreIndices(isglobal[i], &ix2)); in MatNestCreateAggregateL2G_Private()
1608 PetscCall(PetscMalloc1(nr, &vs->isglobal.row)); in MatSetUp_NestIS_Private()
1609 PetscCall(PetscMalloc1(nc, &vs->isglobal.col)); in MatSetUp_NestIS_Private()
1614 vs->isglobal.row[i] = is_row[i]; in MatSetUp_NestIS_Private()
1631 … PetscCall(ISCreateStride(PetscObjectComm((PetscObject)sub), n, offset, 1, &vs->isglobal.row[i])); in MatSetUp_NestIS_Private()
1632 PetscCall(ISSetBlockSize(vs->isglobal.row[i], bs)); in MatSetUp_NestIS_Private()
1641 vs->isglobal.col[j] = is_col[j]; in MatSetUp_NestIS_Private()
1659 … PetscCall(ISCreateStride(PetscObjectComm((PetscObject)sub), n, offset, 1, &vs->isglobal.col[j])); in MatSetUp_NestIS_Private()
1660 PetscCall(ISSetBlockSize(vs->isglobal.col[j], bs)); in MatSetUp_NestIS_Private()
1708 …PetscCall(MatNestCreateAggregateL2G_Private(A, vs->nr, vs->islocal.row, vs->isglobal.row, PETSC_FA… in MatSetUp_NestIS_Private()
1709 …PetscCall(MatNestCreateAggregateL2G_Private(A, vs->nc, vs->islocal.col, vs->isglobal.col, PETSC_TR… in MatSetUp_NestIS_Private()
1723 PetscCall(ISGetSize(vs->isglobal.row[i], &Mi)); in MatSetUp_NestIS_Private()
1724 PetscCall(ISGetSize(vs->isglobal.col[j], &Ni)); in MatSetUp_NestIS_Private()
1725 PetscCall(ISGetLocalSize(vs->isglobal.row[i], &mi)); in MatSetUp_NestIS_Private()
1726 PetscCall(ISGetLocalSize(vs->isglobal.col[j], &ni)); in MatSetUp_NestIS_Private()
1857 PetscCall(ISStrideGetInfo(nest->isglobal.row[i], &rst, NULL)); in MatConvert_Nest_SeqAIJ_fast()
1858 PetscCall(ISGetLocalSize(nest->isglobal.row[i], &ncr)); in MatConvert_Nest_SeqAIJ_fast()
1878 PetscCall(ISStrideGetInfo(nest->isglobal.row[i], &rst, NULL)); in MatConvert_Nest_SeqAIJ_fast()
1879 PetscCall(ISGetLocalSize(nest->isglobal.row[i], &ncr)); in MatConvert_Nest_SeqAIJ_fast()
1891 PetscCall(ISStrideGetInfo(nest->isglobal.col[j], &cst, NULL)); in MatConvert_Nest_SeqAIJ_fast()
1959 PetscCall(ISAllGather(nest->isglobal.col[j], &bNis)); in MatAXPY_Dense_Nest()
1980 PetscCall(ISGetLocalSize(nest->isglobal.row[i], &bm)); in MatAXPY_Dense_Nest()
1981 PetscCall(ISGetIndices(nest->isglobal.row[i], &bmindices)); in MatAXPY_Dense_Nest()
2007 PetscCall(ISRestoreIndices(nest->isglobal.row[i], &bmindices)); in MatAXPY_Dense_Nest()
2061 PetscCall(PetscObjectTypeCompare((PetscObject)nest->isglobal.row[i], ISSTRIDE, &fast)); in MatConvert_Nest_AIJ()
2065 PetscCall(ISStrideGetInfo(nest->isglobal.row[i], &f, &s)); in MatConvert_Nest_AIJ()
2069 PetscCall(ISGetSize(nest->isglobal.row[i], &f)); in MatConvert_Nest_AIJ()
2075 PetscCall(PetscObjectTypeCompare((PetscObject)nest->isglobal.col[i], ISSTRIDE, &fast)); in MatConvert_Nest_AIJ()
2079 PetscCall(ISStrideGetInfo(nest->isglobal.col[i], &f, &s)); in MatConvert_Nest_AIJ()
2083 PetscCall(ISGetSize(nest->isglobal.col[i], &f)); in MatConvert_Nest_AIJ()
2116 PetscCall(ISAllGather(nest->isglobal.col[j], &bNis)); in MatConvert_Nest_AIJ()
2126 PetscCall(ISGetLocalSize(nest->isglobal.row[i], &bm)); in MatConvert_Nest_AIJ()
2127 PetscCall(ISGetIndices(nest->isglobal.row[i], &bmindices)); in MatConvert_Nest_AIJ()
2177 PetscCall(ISRestoreIndices(nest->isglobal.row[i], &bmindices)); in MatConvert_Nest_AIJ()