Home
last modified time | relevance | path

Searched refs:owts (Results 1 – 2 of 2) 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
83 PetscCall(PetscMalloc1(on, &owts)); in MCJPGreatestWeight_Private()
84 jp->owts = owts; 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()
112 if (owts[cols[j]] > maxweights[i]) maxweights[i] = owts[cols[j]]; in MCJPGreatestWeight_Private()
120 PetscCall(PetscSFBcastBegin(sf, MPIU_REAL, dwts, owts, MPI_REPLACE)); in MCJPGreatestWeight_Private()
121 PetscCall(PetscSFBcastEnd(sf, MPIU_REAL, dwts, owts, MPI_REPLACE)); in MCJPGreatestWeight_Private()
457 PetscCall(PetscFree(jp->owts)); in MatColoringApply_JP()
[all …]
/petsc/src/mat/graphops/color/impls/greedy/
H A Dgreedy.c28 PetscReal *owts = NULL; in GreedyColoringLocalDistanceOne_Private() local
71 PetscCall(PetscMalloc2(no, &ocolors, no, &owts)); in GreedyColoringLocalDistanceOne_Private()
84 PetscCall(PetscSFBcastBegin(sf, MPIU_REAL, wts, owts, MPI_REPLACE)); in GreedyColoringLocalDistanceOne_Private()
85 PetscCall(PetscSFBcastEnd(sf, MPIU_REAL, wts, owts, MPI_REPLACE)); in GreedyColoringLocalDistanceOne_Private()
150 … if ((ocolors[cidx[j]] == lcolors[i]) && (owts[cidx[j]] > wts[i]) && lcolors[i] < maxcolors) { in GreedyColoringLocalDistanceOne_Private()
164 PetscCall(PetscFree2(ocolors, owts)); in GreedyColoringLocalDistanceOne_Private()
183 PetscReal *owts, *colorweights; in GreedyColoringLocalDistanceTwo_Private() local
259 PetscCall(PetscMalloc3(no, &owts, no, &oconf, no, &ocolors)); in GreedyColoringLocalDistanceTwo_Private()
260 PetscCall(PetscSFBcastBegin(sf, MPIU_REAL, wts, owts, MPI_REPLACE)); in GreedyColoringLocalDistanceTwo_Private()
261 PetscCall(PetscSFBcastEnd(sf, MPIU_REAL, wts, owts, MPI_REPLACE)); in GreedyColoringLocalDistanceTwo_Private()
[all …]