Peano
advection Namespace Reference

Variables

int dimensions = 2
 
int patch_size = 16
 
int depth = 5
 
float end_time = 1.0
 
float advection_speed = 1.0
 
list size = [1.0, 1.0, 1.0]
 
list offset = [0.0, 0.0, 0.0]
 
float time_in_between_two_snapshots = end_time / 10
 
string compile_mode = "Release"
 
 my_project
 
 my_solver
 
 my_pde
 
 v = my_pde.name_Q_entries(0, dimensions, "v")
 
 c = sympy.symbols("c")
 
 initial_conditions
 
 boundary_conditions
 
 flux
 
 max_eigenvalue
 
 plot_description
 
 min_end_time
 
 max_end_time
 
 first_plot_time_stamp
 
 time_in_between_plots
 
 periodic_BC
 
 mode
 
 make
 
 True
 
 make_clean_first
 
 throw_away_data_after_build
 

Variable Documentation

◆ advection_speed

float advection.advection_speed = 1.0

Definition at line 39 of file advection.py.

◆ boundary_conditions

advection.boundary_conditions

Definition at line 146 of file advection.py.

◆ c

advection.c = sympy.symbols("c")

Definition at line 91 of file advection.py.

◆ compile_mode

string advection.compile_mode = "Release"

Definition at line 56 of file advection.py.

◆ depth

int advection.depth = 5

Definition at line 29 of file advection.py.

◆ dimensions

advection.dimensions = 2

Definition at line 19 of file advection.py.

◆ end_time

float advection.end_time = 1.0

Definition at line 34 of file advection.py.

◆ first_plot_time_stamp

advection.first_plot_time_stamp

Definition at line 171 of file advection.py.

◆ flux

advection.flux

Definition at line 147 of file advection.py.

◆ initial_conditions

advection.initial_conditions

Definition at line 145 of file advection.py.

◆ make

advection.make

Definition at line 209 of file advection.py.

◆ make_clean_first

advection.make_clean_first

Definition at line 209 of file advection.py.

◆ max_eigenvalue

advection.max_eigenvalue

Definition at line 148 of file advection.py.

◆ max_end_time

advection.max_end_time

Definition at line 170 of file advection.py.

◆ min_end_time

advection.min_end_time

Definition at line 169 of file advection.py.

◆ mode

advection.mode

Definition at line 193 of file advection.py.

◆ my_pde

advection.my_pde
Initial value:
1 = symhype.FirstOrderConservativePDEFormulation(
2  unknowns=dimensions, auxiliary_variables=0, dimensions=dimensions
3 )

Definition at line 87 of file advection.py.

◆ my_project

advection.my_project
Initial value:
1 = exahype2.Project(
2  namespace=["tutorials", "symhype", "advection"],
3  project_name="Advection",
4  directory=".",
5  executable="Advection",
6 )

Definition at line 62 of file advection.py.

◆ my_solver

advection.my_solver
Initial value:
1 = exahype2.solvers.fv.godunov.GlobalAdaptiveTimeStep(
2  name="FVSolver",
3  patch_size=patch_size,
4  unknowns=dimensions,
5  auxiliary_variables=0,
6  min_volume_h=(1.1 * min(size[0:dimensions]) / (3.0**depth)),
7  max_volume_h=(1.1 * min(size[0:dimensions]) / (3.0**depth)),
8  time_step_relaxation=0.5,
9 )
static double min(double const x, double const y)

Definition at line 74 of file advection.py.

◆ offset

advection.offset = [0.0, 0.0, 0.0]

Definition at line 45 of file advection.py.

◆ patch_size

int advection.patch_size = 16

Definition at line 24 of file advection.py.

◆ periodic_BC

advection.periodic_BC

Definition at line 173 of file advection.py.

◆ plot_description

advection.plot_description

Definition at line 155 of file advection.py.

◆ size

advection.size = [1.0, 1.0, 1.0]

Definition at line 44 of file advection.py.

◆ throw_away_data_after_build

advection.throw_away_data_after_build

Definition at line 209 of file advection.py.

◆ time_in_between_plots

advection.time_in_between_plots

Definition at line 172 of file advection.py.

◆ time_in_between_two_snapshots

float advection.time_in_between_two_snapshots = end_time / 10

Definition at line 50 of file advection.py.

◆ True

advection.True

Definition at line 209 of file advection.py.

◆ v

advection.v = my_pde.name_Q_entries(0, dimensions, "v")

Definition at line 90 of file advection.py.