Peano 4
Loading...
Searching...
No Matches
acoustic-wave.py File Reference

Go to the source code of this file.

Namespaces

namespace  acoustic-wave
 

Variables

int acoustic-wave.dimensions = 2
 
int acoustic-wave.patch_size = 16
 
float acoustic-wave.volume_size = 0.1
 
int acoustic-wave.end_time = 1
 
list acoustic-wave.size = [10.0, 10.0, 10.0]
 
list acoustic-wave.offset = [0.0, 0.0, 0.0]
 
bool acoustic-wave.use_make = True
 
bool acoustic-wave.visualise = False
 
int acoustic-wave.time_in_between_two_snapshots = end_time / 100
 
 acoustic-wave.compile_mode = peano4.output.CompileMode.Release
 
 acoustic-wave.my_project
 
 acoustic-wave.my_solver
 
 acoustic-wave.my_pde
 
 acoustic-wave.p = my_pde.name_Q_entry(0, "p")
 
 acoustic-wave.v = my_pde.name_Q_entries(1, dimensions, "v")
 
 acoustic-wave.rho = sympy.symbols("rho")
 
 acoustic-wave.c = sympy.symbols("c")
 
 acoustic-wave.K0 = rho * c * c
 
 acoustic-wave.sigma = sympy.symbols("sigma")
 
 acoustic-wave.t0 = sympy.symbols("t0")
 
 acoustic-wave.M0 = sympy.symbols("M0")
 
 acoustic-wave.t = sympy.symbols("t")
 
 acoustic-wave.max_h = sympy.symbols("MaxAdmissibleVolumeH")
 
 acoustic-wave.force = M0 * sympy.exp(-((t - t0) * (t - t0)) / (2.0 * sigma * sigma))
 
 acoustic-wave.point_source = sympy.sqrt((5 - my_pde.x[0]) ** 2 + (5 - my_pde.x[1]) ** 2)
 
 acoustic-wave.initial_conditions
 
 acoustic-wave.boundary_conditions
 
 acoustic-wave.flux
 
 acoustic-wave.eigenvalues
 
 acoustic-wave.source_term
 
 acoustic-wave.plot_description
 
 acoustic-wave.min_end_time
 
 acoustic-wave.max_end_time
 
 acoustic-wave.first_plot_time_stamp
 
 acoustic-wave.time_in_between_plots
 
 acoustic-wave.periodic_BC = [True, True, True]
 
str acoustic-wave.output_patch_file = "solution/solution-AcousticWaveSolver.peano-patch-file"
 
 acoustic-wave.mode
 
 acoustic-wave.make
 
 acoustic-wave.make_clean_first
 
 acoustic-wave.True
 
 acoustic-wave.throw_away_data_after_build