Home
last modified time | relevance | path

Searched refs:statej (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/graphops/coarsen/impls/mis/
H A Dmis.c28 …Iend, my0, nremoved, gid, lid, cpid, lidj, sgid, t1, t2, slid, nDone, nselected = 0, state, statej; in MatCoarsenApply_MIS_private() local
109 statej = cpcol_state[cpid]; in MatCoarsenApply_MIS_private()
110 …PetscCheck(!MIS_IS_SELECTED(statej), PETSC_COMM_SELF, PETSC_ERR_SUP, "selected ghost: %" PetscInt_… in MatCoarsenApply_MIS_private()
111 … if (statej == MIS_NOT_DONE && gid >= Iend) { /* should be (pe>rank), use gid as pe proxy */ in MatCoarsenApply_MIS_private()
145 statej = lid_state[lidj]; in MatCoarsenApply_MIS_private()
146 if (statej == MIS_NOT_DONE) { 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()
188 statej = cpcol_state[cpid]; in MatCoarsenApply_MIS_private()
189 if (MIS_IS_SELECTED(statej)) { /* lid is now deleted, do it */ in MatCoarsenApply_MIS_private()
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c963 NState statej = lid_state[lidj]; in fixAggregatesWithSquare() local
965 …if (statej == DELETED && (sgid = (PetscInt)PetscRealPart(lid_parent_gid[lidj])) != lid + my0) { /*… in fixAggregatesWithSquare()
1007 NState statej = (NState)PetscRealPart(cpcol_1_state[cpid]); in fixAggregatesWithSquare() local
1009 … if (IS_SELECTED(statej) && sgidold != statej) { /* ghost will steal this, remove from my list */ in fixAggregatesWithSquare()
1010 lid_parent_gid[lid] = (PetscScalar)statej; /* send who selected */ in fixAggregatesWithSquare()