SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
NewtonianEuler::Sources Namespace Reference

Classes

class  LaneEmdenGravitationalField
 Source giving the acceleration due to gravity in the spherical, Newtonian Lane-Emden star solution. More...
class  NoSource
 Used to mark that the initial data do not require source terms in the evolution equations. More...
class  Source
 Source terms base class. More...
class  UniformAcceleration
 Source generated from an external uniform acceleration. More...
class  VortexPerturbation
 Source generating a modified isentropic vortex. More...

Typedefs

template<size_t Dim>
using all_sources
 All the available source terms.

Functions

template<size_t Dim>
bool operator!= (const UniformAcceleration< Dim > &lhs, const UniformAcceleration< Dim > &rhs)

Detailed Description

Holds classes implementing sources for the Newtonian Euler system.

Typedef Documentation

◆ all_sources

template<size_t Dim>
using NewtonianEuler::Sources::all_sources
Initial value:
tmpl::append<
tmpl::conditional_t<
Dim == 3, tmpl::list<LaneEmdenGravitationalField, VortexPerturbation>,
tmpl::list<>>,
tmpl::list<NoSource<Dim>, UniformAcceleration<Dim>>>
Source generated from an external uniform acceleration.
Definition UniformAcceleration.hpp:55

All the available source terms.