Peano
Loading...
Searching...
No Matches
exahype2.api.fv.RusanovWithOptimisticExplicitEuler Namespace Reference

Data Structures

class  RusanovWithOptimisticExplicitEuler
 Finite Volumes with a Rusanov Riemann solver and optimistic explicit Euler time stepping, realised over a block-structured mesh. More...

Functions

"void" timeStepWithRusanov2DOnPatchInterior ("::exahype2::CellData<double, double>&" patchData)
 DSLHyPE time step kernels on the patch interior and on the shell of a patch.
"void" timeStepWithRusanov2DOnShell ("::exahype2::CellData<double, double>&" patchData)
 Rusanov update of the shell of a 2d patch.
"void" timeStepWithRusanov3DOnPatchInterior ("::exahype2::CellData<double, double>&" patchData)
 Rusanov update of the interior of a 3d patch.
"void" timeStepWithRusanov3DOnShell ("::exahype2::CellData<double, double>&" patchData)
 Rusanov update of the shell of a 3d patch.

Function Documentation

◆ timeStepWithRusanov2DOnPatchInterior()

"void" exahype2.api.fv.RusanovWithOptimisticExplicitEuler.timeStepWithRusanov2DOnPatchInterior ( ".exahype2.CellData<double, double>&" patchData)

DSLHyPE time step kernels on the patch interior and on the shell of a patch.

Variants of exahype2.api.fv.timeStepWithRusanov2D/3D that update only the patch interior or only the shell of the patch (exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler). They are never executed as Python, but parsed by DSLHyPE and hence follow the conventions documented with timeStepWithRusanov2D in RusanovWithExplicitEuler.py. Like the original kernels, they assume that the Rusanov stencil reaches one volume in each direction. All volumes between H and NV-H along each axis form the patch interior, so the shell is H volumes thick.

  • The patch interior kernels read the input only within [H-1,NV-H+1) along each axis, i.e. never the halo. Their input hence is the NV^d patch without halo (_patch), so they can run before the halo data has arrived. Their output is the patch interior only, i.e. a (NV-2H)^d patch (_patch_interior).
  • The shell kernels tile the shell into rectangular strips (2d) or slabs (3d) and run the update once per strip with its own set of temporary variables, as the DSL has no loops. They write the shell of the NV^d output only.

None of the kernels returns an eigenvalue. The maximum eigenvalue is a kernel of its own (exahype2.api.fv.RusanovWithExplicitEuler.maxEigenvalueOverPatch2D), which runs over the whole patch once it is updated.

The 3d kernels test for the PDE terms by the same names as timeStepWithRusanov2D, i.e. volumetricSource, flux, nonconservativeProduct and maxEigenvalue.

Rusanov update of the interior of a 2d patch.

Definition at line 70 of file RusanovWithOptimisticExplicitEuler.py.

◆ timeStepWithRusanov2DOnShell()

"void" exahype2.api.fv.RusanovWithOptimisticExplicitEuler.timeStepWithRusanov2DOnShell ( ".exahype2.CellData<double, double>&" patchData)

Rusanov update of the shell of a 2d patch.

Definition at line 121 of file RusanovWithOptimisticExplicitEuler.py.

◆ timeStepWithRusanov3DOnPatchInterior()

"void" exahype2.api.fv.RusanovWithOptimisticExplicitEuler.timeStepWithRusanov3DOnPatchInterior ( ".exahype2.CellData<double, double>&" patchData)

Rusanov update of the interior of a 3d patch.

Definition at line 293 of file RusanovWithOptimisticExplicitEuler.py.

◆ timeStepWithRusanov3DOnShell()

"void" exahype2.api.fv.RusanovWithOptimisticExplicitEuler.timeStepWithRusanov3DOnShell ( ".exahype2.CellData<double, double>&" patchData)

Rusanov update of the shell of a 3d patch.

Definition at line 358 of file RusanovWithOptimisticExplicitEuler.py.