Peano
Loading...
Searching...
No Matches
fv Namespace Reference

Variables

str initial_conditions
 
str boundary_conditions
 
 parser = exahype2.ArgumentParser("ExaHyPE 2 Finite Volumes Kernel Benchmarking Script")
 
 min_depth
 
 degrees_of_freedom
 
 type
 
 default
 
 help
 
 args = parser.parse_args()
 
list size = [1.0, 1.0, 1.0]
 
 project
 
 fv_solver
 
 max_eigenvalue
 
 flux
 
float time_in_between_plots = 0.0
 
 dimensions
 
 offset
 
 min_end_time
 
 max_end_time
 
 first_plot_time_stamp
 
 periodic_BC
 
 mode
 
 makefile = project.output.makefile
 

Variable Documentation

◆ args

fv.args = parser.parse_args()

Definition at line 49 of file fv.py.

◆ boundary_conditions

fv.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 24 of file fv.py.

◆ default

fv.default

Definition at line 45 of file fv.py.

◆ degrees_of_freedom

fv.degrees_of_freedom

Definition at line 38 of file fv.py.

◆ dimensions

fv.dimensions

Definition at line 87 of file fv.py.

◆ first_plot_time_stamp

fv.first_plot_time_stamp

Definition at line 92 of file fv.py.

◆ flux

fv.flux

Definition at line 75 of file fv.py.

◆ fv_solver

fv.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=(1.1 * min(size[0 : args.dimensions]) / (3.0**args.min_depth)),
7 max_volume_h=(1.1 * min(size[0 : args.dimensions]) / (3.0**args.min_depth)),
8 time_step_relaxation=0.5,
9 use_enclave_tasking=True,
10)

Definition at line 60 of file fv.py.

◆ help

fv.help

Definition at line 46 of file fv.py.

◆ initial_conditions

fv.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 12 of file fv.py.

◆ makefile

fv.makefile = project.output.makefile

Definition at line 115 of file fv.py.

◆ max_eigenvalue

fv.max_eigenvalue

Definition at line 74 of file fv.py.

◆ max_end_time

fv.max_end_time

Definition at line 91 of file fv.py.

◆ min_depth

fv.min_depth

Definition at line 37 of file fv.py.

◆ min_end_time

fv.min_end_time

Definition at line 90 of file fv.py.

◆ mode

fv.mode

Definition at line 97 of file fv.py.

◆ offset

fv.offset

Definition at line 89 of file fv.py.

◆ parser

fv.parser = exahype2.ArgumentParser("ExaHyPE 2 Finite Volumes Kernel Benchmarking Script")

Definition at line 35 of file fv.py.

◆ periodic_BC

fv.periodic_BC

Definition at line 94 of file fv.py.

◆ project

fv.project
Initial value:
1= exahype2.Project(
2 namespace=["benchmarks", "exahype2", "kernelbenchmarks"],
3 project_name="KernelBenchmarks",
4 directory=".",
5 executable="KernelBenchmarks",
6)

Definition at line 53 of file fv.py.

◆ size

fv.size = [1.0, 1.0, 1.0]

Definition at line 51 of file fv.py.

◆ time_in_between_plots

fv.time_in_between_plots = 0.0

Definition at line 81 of file fv.py.

◆ type

fv.type

Definition at line 44 of file fv.py.