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

Holds classes implementing a solution to the ScalarAdvection equation. More...

Classes

class  Krivodonova
 Initial data for the 1D scalar advection problem adopted from [126] and its analytic solution. More...
class  Kuzmin
 Initial data for the 2D scalar advection problem adopted from [128] and its analytic solution. More...
class  Sinusoid
 An 1D sinusoidal wave advecting with speed 1.0, periodic over the interval \([-1, 1]\). More...

Typedefs

template<size_t Dim>
using all_analytic_solutions
 Typelist of all analytic solutions of advection system.

Functions

bool operator== (const Krivodonova &, const Krivodonova &)
bool operator!= (const Krivodonova &lhs, const Krivodonova &rhs)
bool operator== (const Kuzmin &, const Kuzmin &)
bool operator!= (const Kuzmin &lhs, const Kuzmin &rhs)
bool operator== (const Sinusoid &, const Sinusoid &)
bool operator!= (const Sinusoid &lhs, const Sinusoid &rhs)

Detailed Description

Holds classes implementing a solution to the ScalarAdvection equation.

Typedef Documentation

◆ all_analytic_solutions

Initial value:
tmpl::flatten<tmpl::list<
tmpl::conditional_t<Dim == 1,
tmpl::list<>>,
tmpl::conditional_t<Dim == 2,
tmpl::list<ScalarAdvection::Solutions::Kuzmin>,
tmpl::list<>>>>
Initial data for the 1D scalar advection problem adopted from krivodonova2007 and its analytic soluti...
Definition Krivodonova.hpp:61
An 1D sinusoidal wave advecting with speed 1.0, periodic over the interval .
Definition Sinusoid.hpp:37

Typelist of all analytic solutions of advection system.