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

gaussian-explosion.args = parser.parse_args()

Definition at line 76 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 42 of file gaussian-explosion.py.

◆ degrees_of_freedom

gaussian-explosion.degrees_of_freedom

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

◆ dimensions

gaussian-explosion.dimensions

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

◆ first_plot_time_stamp

gaussian-explosion.first_plot_time_stamp

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

◆ flux

gaussian-explosion.flux

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

◆ fv_solver

gaussian-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 82 of file gaussian-explosion.py.

◆ initial_conditions

gaussian-explosion.initial_conditions

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

◆ make

gaussian-explosion.make

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

◆ make_clean_first

gaussian-explosion.make_clean_first

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

◆ max_eigenvalue

gaussian-explosion.max_eigenvalue

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

◆ max_end_time

gaussian-explosion.max_end_time

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

◆ max_h

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

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

◆ min_depth

gaussian-explosion.min_depth

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

◆ min_end_time

gaussian-explosion.min_end_time

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

◆ min_h

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

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

◆ mode

gaussian-explosion.mode

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

◆ offset

gaussian-explosion.offset

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

◆ parser

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

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

◆ periodic_BC

gaussian-explosion.periodic_BC

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

◆ project

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

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

◆ refinement_criterion

gaussian-explosion.refinement_criterion
Initial value:
1= """
2 auto result = ::exahype2::RefinementCommand::Keep;
3
4#if DIMENSIONS == 2
5 const tarch::la::Vector<DIMENSIONS, double> circleCentre = {0.5, 0.3};
6#else
7 const tarch::la::Vector<DIMENSIONS, double> circleCentre = {0.18, 0.3, 0.6};
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 53 of file gaussian-explosion.py.

◆ size

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

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

◆ throw_away_data_after_build

gaussian-explosion.throw_away_data_after_build

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

◆ time_in_between_plots

gaussian-explosion.time_in_between_plots = 0.0

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

◆ True

gaussian-explosion.True

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