Lines Matching refs:Mx

477   PetscInt       i, j, k, dof, xs, xm, Mx;  in FVSample_2WaySplit()  local
483 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVSample_2WaySplit()
527 PetscInt i, Mx; in SolutionErrorNorms_2WaySplit() local
532 PetscCall(VecGetSize(X, &Mx)); in SolutionErrorNorms_2WaySplit()
539 for (i = 0; i < Mx; i++) { in SolutionErrorNorms_2WaySplit()
552 PetscInt i, j, k, Mx, dof, xs, xm, sf = ctx->sf, fs = ctx->fs; in FVRHSFunction_2WaySplit() local
561 …PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); /* Mx is the number of cen… in FVRHSFunction_2WaySplit()
578 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunction_2WaySplit()
596 if (xs + xm == Mx) { /* Right Boundary */ in FVRHSFunction_2WaySplit()
600 …for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = 2.0 * ctx->ub[dof + j] - x[(2 * Mx - (i + 1)) * dof… in FVRHSFunction_2WaySplit()
602 for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = x[(Mx - 1) * dof + j]; /* Outflow */ in FVRHSFunction_2WaySplit()
728 …PetscInt i, j, k, Mx, dof, xs, xm, islow = 0, sf = ctx->sf, fs = ctx->fs, lsbwidth = ctx->lsbw… in FVRHSFunctionslow_2WaySplit() local
737 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionslow_2WaySplit()
752 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslow_2WaySplit()
769 if (xs + xm == Mx) { /* Right Boundary */ in FVRHSFunctionslow_2WaySplit()
773 …for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = 2.0 * ctx->ub[dof + j] - x[(2 * Mx - (i + 1)) * dof… in FVRHSFunctionslow_2WaySplit()
775 for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = x[(Mx - 1) * dof + j]; /* Outflow */ in FVRHSFunctionslow_2WaySplit()
879 …PetscInt i, j, k, Mx, dof, xs, xm, islow = 0, sf = ctx->sf, fs = ctx->fs, lsbwidth = ctx->lsbw… in FVRHSFunctionslowbuffer_2WaySplit() local
888 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionslowbuffer_2WaySplit()
903 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslowbuffer_2WaySplit()
920 if (xs + xm == Mx) { /* Right Boundary */ in FVRHSFunctionslowbuffer_2WaySplit()
924 …for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = 2.0 * ctx->ub[dof + j] - x[(2 * Mx - (i + 1)) * dof… in FVRHSFunctionslowbuffer_2WaySplit()
926 for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = x[(Mx - 1) * dof + j]; /* Outflow */ in FVRHSFunctionslowbuffer_2WaySplit()
1050 PetscInt i, j, k, Mx, dof, xs, xm, ifast = 0, sf = ctx->sf, fs = ctx->fs; in FVRHSFunctionfast_2WaySplit() local
1059 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionfast_2WaySplit()
1074 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionfast_2WaySplit()
1091 if (xs + xm == Mx) { /* Right Boundary */ in FVRHSFunctionfast_2WaySplit()
1095 …for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = 2.0 * ctx->ub[dof + j] - x[(2 * Mx - (i + 1)) * dof… in FVRHSFunctionfast_2WaySplit()
1097 for (i = Mx; i < Mx + 2; i++) x[i * dof + j] = x[(Mx - 1) * dof + j]; /* Outflow */ in FVRHSFunctionfast_2WaySplit()
1189 …PetscInt i, k, dof, xs, xm, Mx, draw = 0, count_slow, count_fast, islow = 0, ifast = 0, i… in main() local
1256 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in main()
1260 …dinates(da, ctx.xmin + 0.5 * (ctx.xmax - ctx.xmin) / Mx, ctx.xmax + 0.5 * (ctx.xmax - ctx.xmin) / in main()
1274 count_slow = Mx * 3 / (3 + ctx.hratio); // compute Mx / (1.0 + ctx.hratio / 3.0); in main()
1276 count_fast = Mx - count_slow; in main()