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

Go to the source code of this file.

Namespaces

namespace  elastic-wave
 

Variables

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