Home
last modified time | relevance | path

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

/petsc/src/mat/graphops/color/impls/jp/
H A Djp.c6 PetscReal *dwts, *owts; member
41 PetscReal *dwts = jp->dwts, *owts = jp->owts; in MCJPGreatestWeight_Private() local
79 if (!dwts) { in MCJPGreatestWeight_Private()
80 PetscCall(PetscMalloc1(dn, &dwts)); in MCJPGreatestWeight_Private()
81 jp->dwts = dwts; in MCJPGreatestWeight_Private()
89 dwts[i] = maxweights[i]; in MCJPGreatestWeight_Private()
94 PetscCall(PetscSFBcastBegin(sf, MPIU_REAL, dwts, owts, MPI_REPLACE)); in MCJPGreatestWeight_Private()
95 PetscCall(PetscSFBcastEnd(sf, MPIU_REAL, dwts, owts, MPI_REPLACE)); in MCJPGreatestWeight_Private()
105 if (dwts[cols[j]] > maxweights[i]) maxweights[i] = dwts[cols[j]]; in MCJPGreatestWeight_Private()
117 for (i = 0; i < dn; i++) dwts[i] = maxweights[i]; in MCJPGreatestWeight_Private()
[all …]