Home
last modified time | relevance | path

Searched refs:my0 (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/pc/impls/gamg/
H A Dutil.c27 PetscInt nnodes, num_ghosts, dir, kk, jj, my0, Iend, nloc; in PCGAMGGetDataWithGhosts() local
36 PetscCall(MatGetOwnershipRange(Gmat, &my0, &Iend)); in PCGAMGGetDataWithGhosts()
37 nloc = Iend - my0; in PCGAMGGetDataWithGhosts()
47 PetscInt gid = my0 + kk; in PCGAMGGetDataWithGhosts()
H A Dagg.c513 …PetscInt Istart, my0, Iend, nloc, clid, flid = 0, aggID, kk, jj, ii, mm, nSelected, minsz, ng… in formProl0() local
523 my0 = Istart / bs; in formProl0()
583 if (gid1 >= my0 && gid1 < Iend) flid = gid1 - my0; in formProl0()
839 PetscInt lid, *ii, *idx, ix, Iend, my0, kk, n, j; in fixAggregatesWithSquare() local
851 PetscCall(MatGetOwnershipRange(Gmat_1, &my0, &Iend)); in fixAggregatesWithSquare()
896 …gid1 == lid + my0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "gid1 %" PetscInt_FMT " != lid %" PetscInt_FMT… in fixAggregatesWithSquare()
914 if (gid1 >= my0 && gid1 < Iend) lid_parent_gid[gid1 - my0] = (PetscScalar)(lid + my0); in fixAggregatesWithSquare()
924 for (kk = 0, j = my0; kk < nloc; kk++, j++) { in fixAggregatesWithSquare()
939 for (kk = 0, j = my0; kk < nloc; kk++, j++) { in fixAggregatesWithSquare()
965 …DELETED && (sgid = (PetscInt)PetscRealPart(lid_parent_gid[lidj])) != lid + my0) { /* steal local */ in fixAggregatesWithSquare()
[all …]
H A Dgeo.c38 PetscInt arrsz, bs, my0, kk, ii, nloc, Iend, aloc; in PCSetCoordinates_GEO() local
44 PetscCall(MatGetOwnershipRange(Amat, &my0, &Iend)); in PCSetCoordinates_GEO()
45 aloc = (Iend - my0); in PCSetCoordinates_GEO()
46 nloc = (Iend - my0) / bs; in PCSetCoordinates_GEO()
431 PetscInt *crsGID, kk, my0, Iend, nloc; in getGIDsOnSquareGraph() local
437 PetscCall(MatGetOwnershipRange(Gmat1, &my0, &Iend)); /* AIJ */ in getGIDsOnSquareGraph()
438 nloc = Iend - my0; /* this does not change */ in getGIDsOnSquareGraph()
467 PetscInt fgid = clid_lid_1[kk] + my0; in getGIDsOnSquareGraph()
607 PetscInt Istart, Iend, nloc, my0, jj, kk, ncols, nLocalSelected, bs, *clid_flid; in PCGAMGProlongator_GEO() local
623 my0 = Istart / bs; in PCGAMGProlongator_GEO()
[all …]
/petsc/src/mat/graphops/coarsen/impls/mis/
H A Dmis.c28 …PetscInt num_fine_ghosts, kk, n, ix, j, *idx, *ii, Iend, my0, nremoved, gid, lid, cpid, l… in MatCoarsenApply_MIS_private() local
56 PetscCall(MatGetOwnershipRange(Gmat, &my0, &Iend)); in MatCoarsenApply_MIS_private()
60 for (kk = 0, gid = my0; kk < nloc; kk++, gid++) lid_gid[kk] = gid; in MatCoarsenApply_MIS_private()
134 lid_state[lid] = lid + my0; in MatCoarsenApply_MIS_private()
137 PetscCall(PetscCDAppendID(agg_lists, lid, lid + my0)); in MatCoarsenApply_MIS_private()
149 PetscCall(PetscCDAppendID(agg_lists, lid, lidj + my0)); in MatCoarsenApply_MIS_private()
225 if (sgid >= my0 && sgid < Iend) { /* I own this deleted */ in MatCoarsenApply_MIS_private()
226 slid = sgid - my0; in MatCoarsenApply_MIS_private()
/petsc/src/mat/graphops/coarsen/impls/misk/
H A Dmisk.c74 …PetscInt num_fine_ghosts, kk, n, ix, j, *idx, *ai, Iend, my0, nremoved, gid, cpid, lidj, … in MatCoarsenApply_MISK_private() local
92 PetscCall(MatGetOwnershipRange(cMat, &my0, &Iend)); in MatCoarsenApply_MISK_private()
97 for (kk = 0, gid = my0; kk < nloc_inner; kk++, gid++) lid_gid[kk] = gid; in MatCoarsenApply_MISK_private()
174 PetscCall(PetscCDAppendID(agg_lists, lid, lid + my0)); in MatCoarsenApply_MISK_private()
181 PetscCall(PetscCDAppendID(agg_lists, lid, lidj + my0)); in MatCoarsenApply_MISK_private()
236 if (sgid >= my0 && sgid < Iend) { /* I own this deleted */ in MatCoarsenApply_MISK_private()
237 slid = sgid - my0; in MatCoarsenApply_MISK_private()
/petsc/src/ksp/pc/impls/ml/
H A Dml.c407 PetscInt arrsz, oldarrsz, bs, my0, kk, ii, nloc, Iend, aloc; in PCSetCoordinates_ML() local
415 PetscCall(MatGetOwnershipRange(Amat, &my0, &Iend)); in PCSetCoordinates_ML()
416 aloc = (Iend - my0); in PCSetCoordinates_ML()
417 nloc = (Iend - my0) / bs; in PCSetCoordinates_ML()