Home
last modified time | relevance | path

Searched refs:hxs (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ts/tutorials/multirate/
H A Dfinitevolume1d.c152 for (i = 0; i < info->m; i++) lmt[i] = jR[i] / info->hxs; in Limit2_LaxWendroff()
154 for (i = 0; i < info->m; i++) lmt[i] = jR[i] / (info->hxs / 2.0 + info->hxf / 2.0); in Limit2_LaxWendroff()
160 for (i = 0; i < info->m; i++) lmt[i] = jR[i] / (info->hxf / 2.0 + info->hxs / 2.0); in Limit2_LaxWendroff()
162 for (i = 0; i < info->m; i++) lmt[i] = jR[i] / info->hxs; in Limit2_LaxWendroff()
164 for (i = 0; i < info->m; i++) lmt[i] = jR[i] / info->hxs; in Limit2_LaxWendroff()
171 for (i = 0; i < info->m; i++) lmt[i] = jL[i] / info->hxs; in Limit2_BeamWarming()
173 for (i = 0; i < info->m; i++) lmt[i] = jL[i] / info->hxs; in Limit2_BeamWarming()
175 for (i = 0; i < info->m; i++) lmt[i] = jL[i] / (info->hxs / 2.0 + info->hxf / 2.0); in Limit2_BeamWarming()
181 for (i = 0; i < info->m; i++) lmt[i] = jL[i] / (info->hxf / 2.0 + info->hxs / 2.0); in Limit2_BeamWarming()
183 for (i = 0; i < info->m; i++) lmt[i] = jL[i] / info->hxs; in Limit2_BeamWarming()
[all …]
H A Dex6.c209 PetscReal hxf, hxs, cfl_idt = 0; in FVRHSFunction_2WaySplit() local
218 hxs = (ctx->xmax - ctx->xmin) * 3.0 / 8.0 / ctx->sf; in FVRHSFunction_2WaySplit()
259 info.hxs = hxs; in FVRHSFunction_2WaySplit()
276 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
277 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
281 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
284 for (j = 0; j < dof; j++) f[i * dof + j] += ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
288 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
293 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
313 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
[all …]
H A Dex4.c553 PetscReal hxf, hxs, cfl_idt = 0; in FVRHSFunction_2WaySplit() local
562 hxs = (ctx->xmax - ctx->xmin) * 3.0 / 8.0 / ctx->sf; in FVRHSFunction_2WaySplit()
628 info.hxs = hxs; in FVRHSFunction_2WaySplit()
645 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
646 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
650 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
653 for (j = 0; j < dof; j++) f[i * dof + j] += ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
657 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
662 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_2WaySplit()
682 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_2WaySplit()
[all …]
H A Dex8.c224 PetscReal hxf, hxm, hxs, cfl_idt = 0; in FVRHSFunction_3WaySplit() local
233 hxs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVRHSFunction_3WaySplit()
275 info.hxs = hxs; in FVRHSFunction_3WaySplit()
293 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_3WaySplit()
294 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_3WaySplit()
298 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_3WaySplit()
301 for (j = 0; j < dof; j++) f[i * dof + j] += ctx->flux[j] / hxs; in FVRHSFunction_3WaySplit()
305 uL[j] = x[(i - 1) * dof + j] + slope[(i - 1) * dof + j] * hxs / 2; in FVRHSFunction_3WaySplit()
310 for (j = 0; j < dof; j++) f[(i - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunction_3WaySplit()
318 uR[j] = x[(i - 0) * dof + j] - slope[(i - 0) * dof + j] * hxs / 2; in FVRHSFunction_3WaySplit()
[all …]
H A Dfinitevolume1d.h9 PetscReal hxs, hxm, hxf; member