Lines Matching refs:dcnt
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
354 for (i = 0; i < dcnt; i++) { in PCApply_Redistribute()
363 for (i = 0; i < dcnt; i++) xwork[drows[i]] = diag[i] * bwork[drows[i]]; in PCApply_Redistribute()
364 PetscCall(PetscLogFlops(dcnt)); in PCApply_Redistribute()
383 PetscInt dcnt = red->dcnt, i; in PCApplyTranspose_Redistribute() local
404 for (i = 0; i < dcnt; i++) { in PCApplyTranspose_Redistribute()
413 for (i = 0; i < dcnt; i++) xwork[drows[i]] = diag[i] * bwork[drows[i]]; in PCApplyTranspose_Redistribute()
414 PetscCall(PetscLogFlops(dcnt)); in PCApplyTranspose_Redistribute()