Home
last modified time | relevance | path

Searched refs:cpid (Results 1 – 3 of 3) sorted by relevance

/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
107 cpid = idx[j]; /* compressed row ID in B mat */ in MatCoarsenApply_MIS_private()
108 gid = cpcol_gid[cpid]; in MatCoarsenApply_MIS_private()
109 statej = cpcol_state[cpid]; in MatCoarsenApply_MIS_private()
163 cpid = idx[j]; /* compressed row ID in B mat */ in MatCoarsenApply_MIS_private()
164 statej = cpcol_state[cpid]; in MatCoarsenApply_MIS_private()
165 if (statej == MIS_NOT_DONE) PetscCall(PetscCDAppendID(agg_lists, lid, nloc + cpid)); in MatCoarsenApply_MIS_private()
187 cpid = idx[j]; /* compressed row ID in B mat */ in MatCoarsenApply_MIS_private()
188 statej = cpcol_state[cpid]; in MatCoarsenApply_MIS_private()
193 lidj = nloc + cpid; in MatCoarsenApply_MIS_private()
[all …]
/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
144 cpid = idx[j]; /* compressed row ID in B mat */ in MatCoarsenApply_MISK_private()
145 gid = cpcol_gid[cpid]; in MatCoarsenApply_MISK_private()
146 if (cpcol_state[cpid] == MIS_NOT_DONE && gid >= Iend) { /* or pe>rank */ in MatCoarsenApply_MISK_private()
203 cpid = idx[j]; /* compressed row ID in B mat */ in MatCoarsenApply_MISK_private()
204 if (MIS_IS_SELECTED(cpcol_state[cpid])) { /* lid is now deleted by ghost */ in MatCoarsenApply_MISK_private()
207 sgid = cpcol_gid[cpid]; in MatCoarsenApply_MISK_private()
229 for (cpid = 0; cpid < num_fine_ghosts; cpid++) icpcol_gid[cpid] = cpcol_gid[cpid]; in MatCoarsenApply_MISK_private()
233 for (cpid = 0; cpid < num_fine_ghosts; cpid++) { in MatCoarsenApply_MISK_private()
234 sgid = cpcol_sel_gid[cpid]; in MatCoarsenApply_MISK_private()
[all …]
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c1006 PetscInt cpid = idx[j]; in fixAggregatesWithSquare() local
1007 NState statej = (NState)PetscRealPart(cpcol_1_state[cpid]); in fixAggregatesWithSquare()
1047 PetscInt cpid, nghost_2; in fixAggregatesWithSquare() local
1078 for (cpid = 0; cpid < nghost_2; cpid++) { in fixAggregatesWithSquare()
1079 NState state = (NState)PetscRealPart(cpcol_2_state[cpid]); in fixAggregatesWithSquare()
1082 PetscInt sgid_new = (PetscInt)PetscRealPart(cpcol_2_parent[cpid]); in fixAggregatesWithSquare()
1083 PetscInt sgid_old = (PetscInt)PetscRealPart(cpcol_2_par_orig[cpid]); in fixAggregatesWithSquare()
1086 PetscInt gid = (PetscInt)PetscRealPart(cpcol_2_gid[cpid]); in fixAggregatesWithSquare()
1088 PetscCall(PetscHMapISet(gid_cpid, gid, cpid)); in fixAggregatesWithSquare()
1107 PetscCall(PetscHMapIGet(gid_cpid, gid, &cpid)); in fixAggregatesWithSquare()
[all …]