Searched refs:dcnt (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/redistribute/ ! |
| H A D | redistribute.c | 19 PetscInt dcnt, *drows; /* these are the local rows that have only diagonal entry */ member 58 …PetscCallMPI(MPIU_Allreduce(&red->dcnt, &ncnt, 1, MPIU_INT, MPI_SUM, PetscObjectComm((PetscObject)… in PCView_Redistribute() 74 PetscInt rstart, rend, nrstart, nrend, nz, cnt, *rows, ncnt, dcnt, *drows; in PCSetUp_Redistribute() local 125 dcnt = 0; in PCSetUp_Redistribute() 136 else drows[dcnt++] = i - rstart; in PCSetUp_Redistribute() 207 red->dcnt = dcnt; in PCSetUp_Redistribute() 244 red->dcnt = dcnt; in PCSetUp_Redistribute() 315 PetscCall(PetscMalloc1(red->dcnt, &red->diag)); in PCSetUp_Redistribute() 319 for (PetscInt i = 0; i < red->dcnt; i++) { in PCSetUp_Redistribute() 335 PetscInt dcnt = red->dcnt, i; in PCApply_Redistribute() local [all …]
|