Peano
breaking-dam Namespace Reference

Variables

string initial_conditions
 
string boundary_conditions
 
string refinement_criterion
 
 parser = exahype2.ArgumentParser("ExaHyPE 2 Euler Breaking Dam 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

breaking-dam.args = parser.parse_args()

Definition at line 52 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 22 of file breaking-dam.py.

◆ degrees_of_freedom

breaking-dam.degrees_of_freedom

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

◆ dimensions

breaking-dam.dimensions

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

◆ first_plot_time_stamp

breaking-dam.first_plot_time_stamp

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

◆ flux

breaking-dam.flux

Definition at line 75 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 12 of file breaking-dam.py.

◆ make

breaking-dam.make

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

◆ make_clean_first

breaking-dam.make_clean_first

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

◆ max_eigenvalue

breaking-dam.max_eigenvalue

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

◆ max_end_time

breaking-dam.max_end_time

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

◆ max_h

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

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

◆ min_depth

breaking-dam.min_depth

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

◆ min_end_time

breaking-dam.min_end_time

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

◆ min_h

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

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

◆ mode

breaking-dam.mode

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

◆ offset

breaking-dam.offset

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

◆ parser

breaking-dam.parser = exahype2.ArgumentParser("ExaHyPE 2 Euler Breaking Dam Argument Parser")

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

◆ periodic_BC

breaking-dam.periodic_BC

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

◆ project

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

Definition at line 80 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::Erase;
9  }
10  }
11 
12  return result;
13 """

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

◆ riemann_solver

breaking-dam.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=args.time_step_relaxation,
9  use_enclave_tasking=args.enclave_tasking,
10  number_of_enclave_tasks=args.ntasks,
11 )

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

◆ size

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

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

◆ throw_away_data_after_build

breaking-dam.throw_away_data_after_build

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

◆ time_in_between_plots

breaking-dam.time_in_between_plots = 0.0

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

◆ True

breaking-dam.True

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