Peano
acoustic Namespace Reference

Variables

int dimensions = 2
 
int patch_size = 16
 
int depth = 5
 
float end_time = 1.0
 
list size = [10.0, 10.0, 10.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
 
 p = my_pde.name_Q_entry(0, "p")
 
 v = my_pde.name_Q_entries(1, dimensions, "v")
 
 rho = sympy.symbols("rho")
 
 c = sympy.symbols("c")
 
 K0 = rho * c * c
 
 sigma = sympy.symbols("sigma")
 
 t0 = sympy.symbols("t0")
 
 M0 = sympy.symbols("M0")
 
 t = sympy.symbols("t")
 
 max_h = sympy.symbols("MaxAdmissibleVolumeH")
 
 force = M0 * sympy.exp(-((t - t0) * (t - t0)) / (2.0 * sigma * sigma))
 
 point_source = sympy.sqrt((5 - my_pde.x[0]) ** 2 + (5 - my_pde.x[1]) ** 2)
 
 initial_conditions
 
 boundary_conditions
 
 flux
 
 max_eigenvalue
 
 source_term
 
 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

◆ boundary_conditions

acoustic.boundary_conditions

Definition at line 187 of file acoustic.py.

◆ c

◆ compile_mode

string acoustic.compile_mode = "Release"

Definition at line 51 of file acoustic.py.

◆ depth

◆ dimensions

acoustic.dimensions = 2

Definition at line 19 of file acoustic.py.

◆ end_time

float acoustic.end_time = 1.0

Definition at line 34 of file acoustic.py.

◆ first_plot_time_stamp

acoustic.first_plot_time_stamp

Definition at line 213 of file acoustic.py.

◆ flux

acoustic.flux

Definition at line 188 of file acoustic.py.

◆ force

acoustic.force = M0 * sympy.exp(-((t - t0) * (t - t0)) / (2.0 * sigma * sigma))

Definition at line 158 of file acoustic.py.

◆ initial_conditions

acoustic.initial_conditions

Definition at line 186 of file acoustic.py.

◆ K0

acoustic.K0 = rho * c * c

Definition at line 90 of file acoustic.py.

Referenced by examples::exahype2::mgccz4.source().

◆ M0

acoustic.M0 = sympy.symbols("M0")

Definition at line 154 of file acoustic.py.

◆ make

acoustic.make

Definition at line 251 of file acoustic.py.

◆ make_clean_first

acoustic.make_clean_first

Definition at line 251 of file acoustic.py.

◆ max_eigenvalue

acoustic.max_eigenvalue

Definition at line 189 of file acoustic.py.

◆ max_end_time

acoustic.max_end_time

Definition at line 212 of file acoustic.py.

◆ max_h

acoustic.max_h = sympy.symbols("MaxAdmissibleVolumeH")

Definition at line 157 of file acoustic.py.

◆ min_end_time

acoustic.min_end_time

Definition at line 211 of file acoustic.py.

◆ mode

acoustic.mode

Definition at line 235 of file acoustic.py.

◆ my_pde

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

Definition at line 82 of file acoustic.py.

◆ my_project

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

Definition at line 57 of file acoustic.py.

◆ my_solver

acoustic.my_solver
Initial value:
1 = exahype2.solvers.fv.godunov.GlobalAdaptiveTimeStep(
2  name="FVSolver",
3  patch_size=patch_size,
4  unknowns=dimensions + 1, # [p, u, v, (w)]
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 69 of file acoustic.py.

◆ offset

acoustic.offset = [0.0, 0.0, 0.0]

Definition at line 40 of file acoustic.py.

◆ p

◆ patch_size

int acoustic.patch_size = 16

Definition at line 24 of file acoustic.py.

◆ periodic_BC

acoustic.periodic_BC

Definition at line 215 of file acoustic.py.

◆ plot_description

acoustic.plot_description

Definition at line 197 of file acoustic.py.

◆ point_source

acoustic.point_source = sympy.sqrt((5 - my_pde.x[0]) ** 2 + (5 - my_pde.x[1]) ** 2)

Definition at line 161 of file acoustic.py.

◆ rho

acoustic.rho = sympy.symbols("rho")

Definition at line 88 of file acoustic.py.

Referenced by TP::TwoPunctures.bicgstab(), and Numerics.computeParameters().

◆ sigma

◆ size

acoustic.size = [10.0, 10.0, 10.0]

Definition at line 39 of file acoustic.py.

◆ source_term

acoustic.source_term

Definition at line 190 of file acoustic.py.

◆ t

acoustic.t = sympy.symbols("t")

Definition at line 155 of file acoustic.py.

Referenced by examples::exahype2::mgccz4::FiniteVolumeMGCCZ4.adjustSolution(), examples::exahype2::mgccz4::ADERDGMGCCZ4.adjustSolution(), airfoilSymmetric(), examples::exahype2::mgccz4::ADERDGMGCCZ4.algebraicSource(), applyBoundaryConditions(), applyBoundaryConditionsToAxis(), TP::TwoPunctures.bicgstab(), applications::exahype2::ccz4::CCZ4.boundaryConditions(), examples::exahype2::mgccz4::FiniteVolumeMGCCZ4.boundaryConditions(), benchmarks::exahype2::ccz4::CCZ4.boundaryConditions(), examples::exahype2::mgccz4::ADERDGMGCCZ4.boundaryConditions(), applications::exahype2::ccz4.diagonal_gaugeWave(), examples::exahype2::mgccz4.forcedflat(), TP::Utilities.free_d3tensor(), applications::exahype2::ccz4.gaugeWave(), examples::exahype2::mgccz4.gaugeWave(), ContextCurvilinear< Shortcuts, basisSize, numberOfData, T >.initUnknownsPatch(), invokeFVSolverBoundaryConditions(), applications::exahype2::ccz4.linearWave(), examples::exahype2::mgccz4.linearWave(), applications::exahype2::ccz4::CCZ4.maxEigenvalue(), benchmarks::exahype2::ccz4::CCZ4.maxEigenvalue(), applications::exahype2::ccz4::CCZ4.nonconservativeProduct(), benchmarks::exahype2::ccz4::CCZ4.nonconservativeProduct(), examples::exahype2::mgccz4::FiniteVolumeMGCCZ4.nonconservativeProduct(), examples::exahype2::mgccz4::ADERDGMGCCZ4.nonconservativeProduct(), math::differentiation::numeric_3D::central_difference.partialT(), math::differentiation::numeric_3D::central_difference.partialX(), math::differentiation::numeric_3D::central_difference.partialY(), applications::exahype2::ccz4::CCZ4.refinementCriterion(), ContextDynamicRupture< Shortcuts, basisSize, numberOfVariables, numberOfParameters, T >.riemannSolver(), ContextDynamicRupture< Shortcuts, basisSize, numberOfVariables, numberOfParameters, T >.slipWeakeningFriction(), examples::exahype2::mgccz4::FiniteVolumeMGCCZ4.sourceTerm(), applications::exahype2::ccz4::CCZ4.sourceTerm(), benchmarks::exahype2::ccz4::CCZ4.sourceTerm(), ContextDynamicRupture< Shortcuts, basisSize, numberOfVariables, numberOfParameters, T >.tauStrength(), exahype2::CellFaceData< inType, outType >.toString(), exahype2::FaceData< inType, outType >.toString(), exahype2::CellFaceData< inType, outType >.~CellFaceData(), and exahype2::FaceData< inType, outType >.~FaceData().

◆ t0

acoustic.t0 = sympy.symbols("t0")

Definition at line 153 of file acoustic.py.

◆ throw_away_data_after_build

acoustic.throw_away_data_after_build

Definition at line 251 of file acoustic.py.

◆ time_in_between_plots

acoustic.time_in_between_plots

Definition at line 214 of file acoustic.py.

◆ time_in_between_two_snapshots

float acoustic.time_in_between_two_snapshots = end_time / 10

Definition at line 45 of file acoustic.py.

◆ True

acoustic.True

Definition at line 251 of file acoustic.py.

◆ v