Searched refs:distbuf (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/graphops/color/utils/ |
| H A D | weights.c | 43 PetscInt *distbuf; in MatColoringGetDegrees() local 64 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringGetDegrees() 77 distbuf[bidx] = 1; in MatColoringGetDegrees() 83 dist = distbuf[bidx]; in MatColoringGetDegrees() 94 distbuf[bidx] = dist + 1; in MatColoringGetDegrees() 103 PetscCall(PetscFree3(seen, idxbuf, distbuf)); in MatColoringGetDegrees() 144 PetscInt *distbuf; in MatColoringCreateSmallestLastWeights() local 168 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringCreateSmallestLastWeights() 185 distbuf[bidx] = 1; in MatColoringCreateSmallestLastWeights() 191 dist = distbuf[bidx]; in MatColoringCreateSmallestLastWeights() [all …]
|
| /petsc/src/mat/graphops/color/impls/jp/ |
| H A D | jp.c | 136 PetscInt *distbuf; in MCJPInitialLocalColor_Private() local 174 PetscCall(PetscMalloc5(n, &colormask, n, &seen, n, &idxbuf, n, &distbuf, n, &boundary)); in MCJPInitialLocalColor_Private() 194 distbuf[bidx] = 1; in MCJPInitialLocalColor_Private() 199 dist = distbuf[bidx]; in MCJPInitialLocalColor_Private() 213 distbuf[bidx] = dist + 1; in MCJPInitialLocalColor_Private() 231 distbuf[bidx] = 1; in MCJPInitialLocalColor_Private() 236 dist = distbuf[bidx]; in MCJPInitialLocalColor_Private() 248 distbuf[bidx] = dist + 1; in MCJPInitialLocalColor_Private() 262 PetscCall(PetscFree5(colormask, seen, idxbuf, distbuf, boundary)); in MCJPInitialLocalColor_Private()
|