Peano
Loading...
Searching...
No Matches
breaking-dam Namespace Reference

Variables

str initial_conditions
 
str boundary_conditions
 
str refinement_criterion
 
 parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")
 
 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)
 
 fv_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

breaking-dam.args = parser.parse_args()

Definition at line 48 of file breaking-dam.py.

◆ boundary_conditions

breaking-dam.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 18 of file breaking-dam.py.

◆ degrees_of_freedom

breaking-dam.degrees_of_freedom

Definition at line 46 of file breaking-dam.py.

◆ dimensions

breaking-dam.dimensions

Definition at line 89 of file breaking-dam.py.

◆ first_plot_time_stamp

breaking-dam.first_plot_time_stamp

Definition at line 94 of file breaking-dam.py.

◆ flux

breaking-dam.flux

Definition at line 71 of file breaking-dam.py.

◆ fv_solver

breaking-dam.fv_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 54 of file breaking-dam.py.

◆ initial_conditions

breaking-dam.initial_conditions
Initial value:
1= """
2 Q[Shortcuts::rho] = 0.1;
3 Q[Shortcuts::rhoU + 0] = 0.0;
4 Q[Shortcuts::rhoU + 1] = 0.0;
5#if DIMENSIONS == 3
6 Q[Shortcuts::rhoU + 2] = 0.0;
7#endif
8 Q[Shortcuts::rhoE] = ((x(0) < 0.5) ? (1.01) : (1.0));
9"""

Definition at line 8 of file breaking-dam.py.

◆ make

breaking-dam.make

Definition at line 110 of file breaking-dam.py.

◆ make_clean_first

breaking-dam.make_clean_first

Definition at line 110 of file breaking-dam.py.

◆ max_eigenvalue

breaking-dam.max_eigenvalue

Definition at line 70 of file breaking-dam.py.

◆ max_end_time

breaking-dam.max_end_time

Definition at line 93 of file breaking-dam.py.

◆ max_h

float breaking-dam.max_h = 1.1 * min(size) / (3.0**args.min_depth)

Definition at line 51 of file breaking-dam.py.

◆ min_depth

breaking-dam.min_depth

Definition at line 45 of file breaking-dam.py.

◆ min_end_time

breaking-dam.min_end_time

Definition at line 92 of file breaking-dam.py.

◆ min_h

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

Definition at line 52 of file breaking-dam.py.

◆ mode

breaking-dam.mode

Definition at line 106 of file breaking-dam.py.

◆ offset

breaking-dam.offset

Definition at line 91 of file breaking-dam.py.

◆ parser

breaking-dam.parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")

Definition at line 43 of file breaking-dam.py.

◆ periodic_BC

breaking-dam.periodic_BC

Definition at line 96 of file breaking-dam.py.

◆ project

breaking-dam.project
Initial value:
1= exahype2.Project(
2 namespace=["tests", "exahype2", "fv"],
3 project_name="BreakingDam",
4 directory=".",
5 executable="ExaHyPE",
6)

Definition at line 74 of file breaking-dam.py.

◆ refinement_criterion

breaking-dam.refinement_criterion
Initial value:
1= """
2 auto result = ::exahype2::RefinementCommand::Keep;
3
4 if (tarch::la::equals(t, 0.0)) {
5 if (x(0) < 0.5) {
6 result = ::exahype2::RefinementCommand::Refine;
7 } else {
8 result = ::exahype2::RefinementCommand::Keep;
9 }
10 }
11
12 return result;
13"""

Definition at line 29 of file breaking-dam.py.

◆ size

breaking-dam.size = [1.0, 1.0, 1.0]

Definition at line 50 of file breaking-dam.py.

◆ throw_away_data_after_build

breaking-dam.throw_away_data_after_build

Definition at line 110 of file breaking-dam.py.

◆ time_in_between_plots

breaking-dam.time_in_between_plots = 0.0

Definition at line 83 of file breaking-dam.py.

◆ True

breaking-dam.True

Definition at line 110 of file breaking-dam.py.