SpECTRE
v2024.05.11
|
Holds classes implementing a solution to the ScalarAdvection equation. More...
Classes | |
class | Krivodonova |
Initial data for the 1D scalar advection problem adopted from [113] and its analytic solution. More... | |
class | Kuzmin |
Initial data for the 2D scalar advection problem adopted from [115] 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 = tmpl::flatten< tmpl::list< tmpl::conditional_t< Dim==1, tmpl::list< ScalarAdvection::Solutions::Sinusoid, ScalarAdvection::Solutions::Krivodonova >, tmpl::list<> >, tmpl::conditional_t< Dim==2, tmpl::list< ScalarAdvection::Solutions::Kuzmin >, tmpl::list<> > > > |
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) |
Holds classes implementing a solution to the ScalarAdvection equation.