Searched refs:statecol (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/graphops/color/utils/ |
| H A D | valid.c | 14 PetscInt *staterow, *statecol, *statespread; in MatColoringTest() local 30 PetscCall(PetscMalloc1(ncols, &statecol)); in MatColoringTest() 37 for (k = 0; k < ncols; k++) statecol[k] = -1; in MatColoringTest() 40 for (k = 0; k < nindices; k++) statecol[indices[k] - s] = indices[k]; in MatColoringTest() 42 statespread = statecol; in MatColoringTest() 55 statecol[i] = 0.; in MatColoringTest() 59 PetscCall(PetscSFReduceBegin(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest() 60 PetscCall(PetscSFReduceEnd(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest() 62 statespread = statecol; in MatColoringTest() 71 stateleafcol[idx] = statecol[i]; in MatColoringTest() [all …]
|