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

Holds analytic solutions to the first-order reduction of the Euclidean wave equation. 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...
class  StandingWave
 A standing wave solution to the Euclidean wave equation. More...

Typedefs

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

Detailed Description

Holds analytic solutions to the first-order reduction of the Euclidean wave equation.

The first-order system evolves \(\Psi\), \(\Pi\), and \(\Phi_j\):

\begin{align*}\partial_t \Psi &= -\Pi, \\ \partial_t \Pi &= -\delta^{ij}\partial_i\Phi_j, \\ \partial_t \Phi_j &= -\partial_j\Pi. \end{align*}

Typedef Documentation

◆ all_solutions

template<size_t Dim>
using ScalarWave::Solutions::all_solutions
Initial value:
tmpl::append<
tmpl::list<PlaneWave<Dim>, StandingWave<Dim>>,
tmpl::conditional_t<Dim == 1, tmpl::list<SemidiscretizedDg>, tmpl::list<>>,
tmpl::conditional_t<Dim == 3, tmpl::list<RegularSphericalWave>,
tmpl::list<>>>
A standing wave solution to the Euclidean wave equation.
Definition StandingWave.hpp:58

List of all analytic solutions.