Peano
Loading...
Searching...
No Matches
gaussian-explosion Namespace Reference

Variables

str initial_conditions
str boundary_conditions
str refinement_criterion
 parser = exahype2.ArgumentParser("ExaHyPE 2 - Euler Gaussian Explosion Argument Parser")
 min_depth
 degrees_of_freedom
 args = parser.parse_args()
list size = [1.0, 1.0, 1.0]
float max_h = 1.1 * min(size) / (3.0**args.min_depth)
float min_h = max_h * 3.0 ** (-args.amr_levels)
 riemann_solver
 max_eigenvalue
 flux
 project
float time_in_between_plots = 0.0
 dimensions
 offset
 min_end_time
 max_end_time
 first_plot_time_stamp
 periodic_BC
 mode
 make
 True
 make_clean_first
 throw_away_data_after_build

Variable Documentation

◆ args

gaussian-explosion.args = parser.parse_args()

Definition at line 80 of file gaussian-explosion.py.

◆ boundary_conditions

gaussian-explosion.boundary_conditions
Initial value:
1= """
2 // Reflective boundary conditions
3 Qoutside[Shortcuts::rho] = Qinside[Shortcuts::rho];
4 Qoutside[Shortcuts::rhoU + 0] = -Qinside[Shortcuts::rhoU + 0];
5 Qoutside[Shortcuts::rhoU + 1] = -Qinside[Shortcuts::rhoU + 1];
6#if DIMENSIONS == 3
7 Qoutside[Shortcuts::rhoU + 2] = -Qinside[Shortcuts::rhoU + 2];
8#endif
9 Qoutside[Shortcuts::rhoE] = Qinside[Shortcuts::rhoE];
10"""

Definition at line 46 of file gaussian-explosion.py.

◆ degrees_of_freedom

gaussian-explosion.degrees_of_freedom

Definition at line 78 of file gaussian-explosion.py.

◆ dimensions

gaussian-explosion.dimensions

Definition at line 123 of file gaussian-explosion.py.

◆ first_plot_time_stamp

gaussian-explosion.first_plot_time_stamp

Definition at line 128 of file gaussian-explosion.py.

◆ flux

gaussian-explosion.flux

Definition at line 103 of file gaussian-explosion.py.

◆ initial_conditions

gaussian-explosion.initial_conditions

Definition at line 12 of file gaussian-explosion.py.

◆ make

gaussian-explosion.make

Definition at line 147 of file gaussian-explosion.py.

◆ make_clean_first

gaussian-explosion.make_clean_first

Definition at line 147 of file gaussian-explosion.py.

◆ max_eigenvalue

gaussian-explosion.max_eigenvalue

Definition at line 102 of file gaussian-explosion.py.

◆ max_end_time

gaussian-explosion.max_end_time

Definition at line 127 of file gaussian-explosion.py.

◆ max_h

float gaussian-explosion.max_h = 1.1 * min(size) / (3.0**args.min_depth)

Definition at line 83 of file gaussian-explosion.py.

◆ min_depth

gaussian-explosion.min_depth

Definition at line 77 of file gaussian-explosion.py.

◆ min_end_time

gaussian-explosion.min_end_time

Definition at line 126 of file gaussian-explosion.py.

◆ min_h

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

Definition at line 84 of file gaussian-explosion.py.

◆ mode

gaussian-explosion.mode

Definition at line 141 of file gaussian-explosion.py.

◆ offset

gaussian-explosion.offset

Definition at line 125 of file gaussian-explosion.py.

◆ parser

gaussian-explosion.parser = exahype2.ArgumentParser("ExaHyPE 2 - Euler Gaussian Explosion Argument Parser")

Definition at line 75 of file gaussian-explosion.py.

◆ periodic_BC

gaussian-explosion.periodic_BC

Definition at line 130 of file gaussian-explosion.py.

◆ project

gaussian-explosion.project
Initial value:
1= exahype2.Project(
2 namespace=["applications", "exahype2", "euler"],
3 project_name="GaussianExplosion",
4 directory=".",
5 executable="Euler",
6)

Definition at line 108 of file gaussian-explosion.py.

◆ refinement_criterion

gaussian-explosion.refinement_criterion
Initial value:
1= """
2 auto result = ::exahype2::RefinementCommand::Keep;
3
4#if DIMENSIONS == 3
5 tarch::la::Vector<DIMENSIONS, double> circleCentre = {0.5, 0.5, 0.5};
6#else
7 tarch::la::Vector<DIMENSIONS, double> circleCentre = {0.5, 0.5};
8#endif
9
10 if (tarch::la::equals(t, 0.0)) {
11 if (tarch::la::norm2(x - circleCentre) < 0.1) {
12 result = ::exahype2::RefinementCommand::Refine;
13 }
14 }
15
16 return result;
17"""

Definition at line 57 of file gaussian-explosion.py.

◆ riemann_solver

gaussian-explosion.riemann_solver
Initial value:
1= exahype2.solvers.fv.godunov.GlobalAdaptiveTimeStep(
2 name="FVSolver",
3 patch_size=args.degrees_of_freedom,
4 unknowns={"rho": 1, "rhoU": args.dimensions, "rhoE": 1},
5 auxiliary_variables=0,
6 min_volume_h=min_h,
7 max_volume_h=max_h,
8 time_step_relaxation=0.5,
9 use_enclave_tasking=args.enclave_tasking,
10 number_of_enclave_tasks=args.ntasks,
11)

Definition at line 86 of file gaussian-explosion.py.

◆ size

gaussian-explosion.size = [1.0, 1.0, 1.0]

Definition at line 82 of file gaussian-explosion.py.

◆ throw_away_data_after_build

gaussian-explosion.throw_away_data_after_build

Definition at line 147 of file gaussian-explosion.py.

◆ time_in_between_plots

gaussian-explosion.time_in_between_plots = 0.0

Definition at line 117 of file gaussian-explosion.py.

◆ True

gaussian-explosion.True

Definition at line 147 of file gaussian-explosion.py.