SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ScalarWave::Solutions Namespace Reference

Holds classes implementing a solution to the Euclidean wave equation \(0 = \frac{\partial^2 \Psi}{\partial t^2} - \nabla^2 \Psi\). More...

Classes

class  PlaneWave
 A plane wave solution to the Euclidean wave equation. More...
class  RegularSphericalWave
 A 3D spherical wave solution to the Euclidean wave equation that is regular at the origin. More...
class  SemidiscretizedDg
 An exact solution to the semidiscretized DG ScalarWave system with an upwind flux. More...

Typedefs

template<size_t Dim>
using all_solutions
 List of all analytic solutions.

Detailed Description

Holds classes implementing a solution to the Euclidean wave equation \(0 = \frac{\partial^2 \Psi}{\partial t^2} - \nabla^2 \Psi\).

Typedef Documentation

◆ all_solutions

template<size_t Dim>
using ScalarWave::Solutions::all_solutions
Initial value:
tmpl::append<
tmpl::list<PlaneWave<Dim>>,
tmpl::conditional_t<Dim == 1, tmpl::list<SemidiscretizedDg>, tmpl::list<>>,
tmpl::conditional_t<Dim == 3, tmpl::list<RegularSphericalWave>,
tmpl::list<>>>

List of all analytic solutions.