Lines Matching refs:Mx
190 PetscInt i, j, k, Mx, dof, xs, xm, len_slow; in FVRHSFunctionslow() local
199 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionslow()
200 hx = (ctx->xmax - ctx->xmin) / Mx; in FVRHSFunctionslow()
214 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslow()
295 PetscInt i, j, k, Mx, dof, xs, xm, len_slow; in FVRHSFunctionfast() local
304 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionfast()
305 hx = (ctx->xmax - ctx->xmin) / Mx; in FVRHSFunctionfast()
319 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionfast()
396 PetscInt i, j, k, Mx, dof, xs, xm, len_slow1, len_slow2; in FVRHSFunctionslow2() local
405 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionslow2()
406 hx = (ctx->xmax - ctx->xmin) / Mx; in FVRHSFunctionslow2()
420 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslow2()
511 PetscInt i, j, k, Mx, dof, xs, xm, len_slow1, len_slow2; in FVRHSFunctionfast2() local
520 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in FVRHSFunctionfast2()
521 hx = (ctx->xmax - ctx->xmin) / Mx; in FVRHSFunctionfast2()
536 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionfast2()
619 PetscInt i, k, dof, xs, xm, Mx, draw = 0, *index_slow, *index_fast, islow = 0, ifast = 0; in main() local
689 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, &dof, 0, 0, 0, 0, 0)); in main()
693 …dinates(da, ctx.xmin + 0.5 * (ctx.xmax - ctx.xmin) / Mx, ctx.xmax + 0.5 * (ctx.xmax - ctx.xmin) / … in main()
708 … (ctx.xmin + i * (ctx.xmax - ctx.xmin) / (PetscReal)Mx + 0.5 * (ctx.xmax - ctx.xmin) / (PetscReal)… in main()
730 …= ctx.xmin + i * (ctx.xmax - ctx.xmin) / (PetscReal)Mx + 0.5 * (ctx.xmax - ctx.xmin) / (PetscReal)… in main()
771 mass_difference = (ctx.xmax - ctx.xmin) / (PetscScalar)Mx * (mass_final - mass_initial); in main()
789 nrm1 /= Mx; in main()