Peano
Loading...
Searching...
No Matches
point-explosion 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

point-explosion.args = parser.parse_args()

Definition at line 50 of file point-explosion.py.

◆ boundary_conditions

point-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 20 of file point-explosion.py.

◆ degrees_of_freedom

point-explosion.degrees_of_freedom

Definition at line 48 of file point-explosion.py.

◆ dimensions

point-explosion.dimensions

Definition at line 91 of file point-explosion.py.

◆ first_plot_time_stamp

point-explosion.first_plot_time_stamp

Definition at line 96 of file point-explosion.py.

◆ flux

point-explosion.flux

Definition at line 73 of file point-explosion.py.

◆ fv_solver

point-explosion.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 56 of file point-explosion.py.

◆ initial_conditions

point-explosion.initial_conditions
Initial value:
1= """
2 Q[Shortcuts::rho] = 1.0;
3 Q[Shortcuts::rhoU + 0] = 0.0;
4 Q[Shortcuts::rhoU + 1] = 0.0;
5#if DIMENSIONS == 2
6 Q[Shortcuts::rhoE] = ((sqrt(pow(0.5 - x(0), 2) + pow(0.5 - x(1), 2)) < 0.2) ? (1.0) : (1.01));
7#else
8 Q[Shortcuts::rhoU + 2] = 0.0;
9 Q[Shortcuts::rhoE] = ((sqrt(pow(0.5 - x(0), 2) + pow(0.5 - x(1), 2) + pow(0.5 - x(2), 2)) < 0.2) ? (1.0) : (1.01));
10#endif
11"""

Definition at line 8 of file point-explosion.py.

◆ make

point-explosion.make

Definition at line 112 of file point-explosion.py.

◆ make_clean_first

point-explosion.make_clean_first

Definition at line 112 of file point-explosion.py.

◆ max_eigenvalue

point-explosion.max_eigenvalue

Definition at line 72 of file point-explosion.py.

◆ max_end_time

point-explosion.max_end_time

Definition at line 95 of file point-explosion.py.

◆ max_h

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

Definition at line 53 of file point-explosion.py.

◆ min_depth

point-explosion.min_depth

Definition at line 47 of file point-explosion.py.

◆ min_end_time

point-explosion.min_end_time

Definition at line 94 of file point-explosion.py.

◆ min_h

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

Definition at line 54 of file point-explosion.py.

◆ mode

point-explosion.mode

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

◆ offset

point-explosion.offset

Definition at line 93 of file point-explosion.py.

◆ parser

point-explosion.parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")

Definition at line 45 of file point-explosion.py.

◆ periodic_BC

point-explosion.periodic_BC

Definition at line 98 of file point-explosion.py.

◆ project

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

Definition at line 76 of file point-explosion.py.

◆ refinement_criterion

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

Definition at line 31 of file point-explosion.py.

◆ size

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

Definition at line 52 of file point-explosion.py.

◆ throw_away_data_after_build

point-explosion.throw_away_data_after_build

Definition at line 112 of file point-explosion.py.

◆ time_in_between_plots

point-explosion.time_in_between_plots = 0.0

Definition at line 85 of file point-explosion.py.

◆ True

point-explosion.True

Definition at line 112 of file point-explosion.py.