Peano
Loading...
Searching...
No Matches
rkdg Namespace Reference

Variables

dict available_scenarios
 parser = exahype2.ArgumentParser("ExaHyPE 2 - RK-DG Testing Script")
 default
 None
 help
 min_depth
 degrees_of_freedom
 args = parser.parse_args()
 s
dict scenario = available_scenarios[s]
int order = args.degrees_of_freedom - 1
float max_h = 1.1 * scenario._domain_size / (3.0**args.min_depth)
float min_h = max_h * 3.0 ** (-args.amr_levels)
 project
 solver
 initial_conditions
 boundary_conditions
 eigenvalues
 flux
 ncp
 error_measurement_implementation
 output_file_name
 mode
 make_clean_first

Variable Documentation

◆ args

rkdg.args = parser.parse_args()

Definition at line 28 of file rkdg.py.

◆ available_scenarios

dict rkdg.available_scenarios
Initial value:
1= {
2 "AcousticPlanarWaves": scenarios.AcousticPlanarWaves(dimensions=2),
3 "AdvectionLinear": scenarios.AdvectionLinear(),
4 "ElasticPlanarWaves": scenarios.ElasticPlanarWaves(dimensions=2),
5 "EulerGaussianBell": scenarios.EulerGaussianBell(),
6 "EulerIsentropicVortex": scenarios.EulerIsentropicVortex(),
7 # "SWERadialDamBreak": scenarios.SWERadialDamBreak(),
8 "SWERestingLake": scenarios.SWERestingLake(),
9}
Scenario reproduced from Dumbser & Käser, https://doi.org/10.1111/j.1365-246X.2006....
Very simple scenario in which the initial value of x is shifted in each spatial dimension.
Scenario reproduced from Dumbser & Käser, https://doi.org/10.1111/j.1365-246X.2006....
Scenario reproduced from Ioratti, Dumbser & Loubère, https://doi.org/10.1007/s10915-020-01209-w (p.
Scenario reproduced from Ioratti, Dumbser & Loubère, https://doi.org/10.1007/s10915-020-01209-w (p.
Resting lake scenario for the shallow water equations.

Definition at line 12 of file rkdg.py.

◆ boundary_conditions

rkdg.boundary_conditions

Definition at line 71 of file rkdg.py.

◆ default

rkdg.default

Definition at line 23 of file rkdg.py.

◆ degrees_of_freedom

rkdg.degrees_of_freedom

Definition at line 26 of file rkdg.py.

◆ eigenvalues

rkdg.eigenvalues

Definition at line 72 of file rkdg.py.

◆ error_measurement_implementation

rkdg.error_measurement_implementation

Definition at line 82 of file rkdg.py.

◆ flux

rkdg.flux

Definition at line 73 of file rkdg.py.

◆ help

rkdg.help

Definition at line 23 of file rkdg.py.

◆ initial_conditions

rkdg.initial_conditions

Definition at line 70 of file rkdg.py.

◆ make_clean_first

rkdg.make_clean_first

Definition at line 93 of file rkdg.py.

◆ max_h

float rkdg.max_h = 1.1 * scenario._domain_size / (3.0**args.min_depth)

Definition at line 48 of file rkdg.py.

◆ min_depth

rkdg.min_depth

Definition at line 25 of file rkdg.py.

◆ min_h

float rkdg.min_h = max_h * 3.0 ** (-args.amr_levels)

Definition at line 49 of file rkdg.py.

◆ mode

rkdg.mode

Definition at line 90 of file rkdg.py.

◆ ncp

rkdg.ncp

Definition at line 74 of file rkdg.py.

◆ None

rkdg.None

Definition at line 23 of file rkdg.py.

◆ order

int rkdg.order = args.degrees_of_freedom - 1

Definition at line 47 of file rkdg.py.

◆ output_file_name

rkdg.output_file_name

Definition at line 83 of file rkdg.py.

◆ parser

rkdg.parser = exahype2.ArgumentParser("ExaHyPE 2 - RK-DG Testing Script")

Definition at line 22 of file rkdg.py.

◆ project

rkdg.project
Initial value:
1= exahype2.Project(
2 namespace=["tests", "exahype2", "rkdg"],
3 project_name=scenario.__class__.__name__,
4 directory=".",
5 executable="RKDG",
6)

Definition at line 51 of file rkdg.py.

◆ s

rkdg.s
Initial value:
1= input(
2 "Which of the following scenarios would you like to test?\n"
3 + " - ".join(available_scenarios.keys())
4 + "\n"
5 )

Definition at line 33 of file rkdg.py.

◆ scenario

dict rkdg.scenario = available_scenarios[s]

Definition at line 38 of file rkdg.py.

◆ solver

rkdg.solver
Initial value:
1= exahype2.solvers.rkdg.rusanov.GlobalAdaptiveTimeStep(
2 name="RKRDGSolver",
3 rk_order = order,
4 polynomials = exahype2.solvers.GaussLegendreBasis(4),
5 min_cell_h=min_h,
6 max_cell_h=max_h,
7 time_step_relaxation=0.9,
8 unknowns=scenario._equation.num_unknowns,
9 auxiliary_variables=scenario._equation.num_auxiliary_variables,
10)

Definition at line 58 of file rkdg.py.