![]() |
Peano
|
Data Structures | |
class | Euler |
Variables | |
int | dimensions = 2 |
int | patch_size = 16 |
float | volume_size = 0.01 |
float | end_time = 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 / 100 |
compile_mode = peano4.output.CompileMode.Release | |
my_project | |
my_solver | |
my_pde | |
gamma = sympy.symbols("gamma") | |
rho = my_pde.name_Q_entry(0, "rho") | |
j = my_pde.name_Q_entries(1, dimensions, "j") | |
E = my_pde.name_Q_entry(dimensions + 1, "E") | |
tuple | p = (gamma - 1) * (E - 1 / 2 * exahype2.symhype.dot(j, j) / rho) |
c = sympy.sqrt(gamma * p / rho) | |
u = j / rho | |
volume_centre = sympy.sqrt((0.5 - my_pde.x[0]) ** 2 + (0.5 - my_pde.x[1]) ** 2) | |
initial_conditions | |
boundary_conditions | |
flux | |
eigenvalues | |
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 | |
euler.E = my_pde.name_Q_entry(dimensions + 1, "E") |
euler.j = my_pde.name_Q_entries(1, dimensions, "j") |
euler.my_pde |
euler.my_project |
euler.my_solver |
euler.volume_centre = sympy.sqrt((0.5 - my_pde.x[0]) ** 2 + (0.5 - my_pde.x[1]) ** 2) |