Lines Matching refs:xmax

20 static inline PetscReal RangeMod(PetscReal a, PetscReal xmin, PetscReal xmax)  in RangeMod()  argument
22 PetscReal range = xmax - xmin; in RangeMod()
54 …(void *vctx, PetscInt initial, FVBCType bctype, PetscReal xmin, PetscReal xmax, PetscReal t, Petsc… in PhysicsSample_Advect() argument
65 x0 = RangeMod(x - a * t, xmin, xmax); in PhysicsSample_Advect()
137 hs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVSample_3WaySplit()
138 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVSample_3WaySplit()
139 hf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVSample_3WaySplit()
147 …sics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xmax, time, xj, uj)); in FVSample_3WaySplit()
156 …sics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xmax, time, xj, uj)); in FVSample_3WaySplit()
165 …sics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xmax, time, xj, uj)); in FVSample_3WaySplit()
174 …sics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xmax, time, xj, uj)); in FVSample_3WaySplit()
183 …sics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xmax, time, xj, uj)); in FVSample_3WaySplit()
202 hs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in SolutionErrorNorms_3WaySplit()
203 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in SolutionErrorNorms_3WaySplit()
204 hf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in SolutionErrorNorms_3WaySplit()
233 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunction_3WaySplit()
234 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunction_3WaySplit()
235 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunction_3WaySplit()
407 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunctionslow_3WaySplit()
408 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunctionslow_3WaySplit()
409 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunctionslow_3WaySplit()
537 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunctionslowbuffer_3WaySplit()
538 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunctionslowbuffer_3WaySplit()
539 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunctionslowbuffer_3WaySplit()
686 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunctionmedium_3WaySplit()
687 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunctionmedium_3WaySplit()
688 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunctionmedium_3WaySplit()
834 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunctionmediumbuffer_3WaySplit()
835 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunctionmediumbuffer_3WaySplit()
836 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunctionmediumbuffer_3WaySplit()
983 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunctionfast_3WaySplit()
984 hxm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVRHSFunctionfast_3WaySplit()
985 hxf = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->fm - ctx->mf); in FVRHSFunctionfast_3WaySplit()
1116 ctx.xmax = 1.0; in main()
1119 PetscCall(PetscOptionsReal("-xmax", "X max", "", ctx.xmax, &ctx.xmax, NULL)); in main()
1155 …DMDASetUniformCoordinates(da, ctx.xmin + 0.5 * (ctx.xmax - ctx.xmin) / Mx, ctx.xmax + 0.5 * (ctx.x… in main()
1242 const PetscReal hs = (ctx.xmax - ctx.xmin) / 4.0 / count_slow; in main()
1243 const PetscReal hm = (ctx.xmax - ctx.xmin) / 2.0 / count_medium; in main()
1244 const PetscReal hf = (ctx.xmax - ctx.xmin) / 4.0 / count_fast; in main()