Searched refs:idxbuf (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/graphops/color/utils/ |
| H A D | weights.c | 42 PetscInt *idxbuf; in MatColoringGetDegrees() local 64 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringGetDegrees() 78 idxbuf[bidx] = cols[j]; in MatColoringGetDegrees() 82 idx = idxbuf[bidx]; in MatColoringGetDegrees() 93 idxbuf[bidx] = cols[j]; in MatColoringGetDegrees() 103 PetscCall(PetscFree3(seen, idxbuf, distbuf)); in MatColoringGetDegrees() 143 PetscInt *idxbuf; in MatColoringCreateSmallestLastWeights() local 168 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringCreateSmallestLastWeights() 186 idxbuf[bidx] = cols[j]; in MatColoringCreateSmallestLastWeights() 190 idx = idxbuf[bidx]; in MatColoringCreateSmallestLastWeights() [all …]
|
| /petsc/src/mat/graphops/color/impls/jp/ |
| H A D | jp.c | 134 PetscInt *idxbuf; in MCJPInitialLocalColor_Private() local 174 PetscCall(PetscMalloc5(n, &colormask, n, &seen, n, &idxbuf, n, &distbuf, n, &boundary)); in MCJPInitialLocalColor_Private() 195 idxbuf[bidx] = cols[j]; in MCJPInitialLocalColor_Private() 198 idx = idxbuf[bidx]; in MCJPInitialLocalColor_Private() 212 idxbuf[bidx] = cols[j]; in MCJPInitialLocalColor_Private() 232 idxbuf[bidx] = cols[j]; in MCJPInitialLocalColor_Private() 235 idx = idxbuf[bidx]; in MCJPInitialLocalColor_Private() 247 idxbuf[bidx] = cols[j]; in MCJPInitialLocalColor_Private() 262 PetscCall(PetscFree5(colormask, seen, idxbuf, distbuf, boundary)); in MCJPInitialLocalColor_Private()
|