Lines Matching refs:ni
127 PetscInt i, j, si, sj, ni, nj, M, N, Ml, Nl, c, nidx; in PCTelescopeSetUp_dmda_repart_coors2d() local
146 PetscCall(DMDAGetCorners(subdm, &si, &sj, NULL, &ni, &nj, NULL)); in PCTelescopeSetUp_dmda_repart_coors2d()
147 Ml = ni; in PCTelescopeSetUp_dmda_repart_coors2d()
151 ni = nj = 0; in PCTelescopeSetUp_dmda_repart_coors2d()
159 for (i = si; i < si + ni; i++) { in PCTelescopeSetUp_dmda_repart_coors2d()
218 PetscInt i, j, k, si, sj, sk, ni, nj, nk, M, N, P, Ml, Nl, Pl, c, nidx; in PCTelescopeSetUp_dmda_repart_coors3d() local
239 PetscCall(DMDAGetCorners(subdm, &si, &sj, &sk, &ni, &nj, &nk)); in PCTelescopeSetUp_dmda_repart_coors3d()
240 Ml = ni; in PCTelescopeSetUp_dmda_repart_coors3d()
245 ni = nj = nk = 0; in PCTelescopeSetUp_dmda_repart_coors3d()
255 for (i = si; i < si + ni; i++) { in PCTelescopeSetUp_dmda_repart_coors3d()
358 PetscMPIInt ni; in PCTelescopeSetUp_dmda_repart() local
439 PetscCall(PetscMPIIntCast(ctx->Mp_re, &ni)); in PCTelescopeSetUp_dmda_repart()
440 PetscCallMPI(MPI_Bcast(ctx->range_i_re, ni, MPIU_INT, 0, comm)); in PCTelescopeSetUp_dmda_repart()
441 PetscCall(PetscMPIIntCast(ctx->Np_re, &ni)); in PCTelescopeSetUp_dmda_repart()
442 PetscCallMPI(MPI_Bcast(ctx->range_j_re, ni, MPIU_INT, 0, comm)); in PCTelescopeSetUp_dmda_repart()
443 PetscCall(PetscMPIIntCast(ctx->Pp_re, &ni)); in PCTelescopeSetUp_dmda_repart()
444 PetscCallMPI(MPI_Bcast(ctx->range_k_re, ni, MPIU_INT, 0, comm)); in PCTelescopeSetUp_dmda_repart()