SpECTRE
v2025.03.17
|
Smooth wave propagating in Minkowski spacetime. More...
#include <SmoothFlow.hpp>
Public Types | |
using | options = typename smooth_flow::options |
![]() | |
template<typename DataType > | |
using | tags = implementation defined |
Public Member Functions | |
SmoothFlow (const SmoothFlow &)=default | |
SmoothFlow & | operator= (const SmoothFlow &)=default |
SmoothFlow (SmoothFlow &&)=default | |
SmoothFlow & | operator= (SmoothFlow &&)=default |
SmoothFlow (const std::array< double, Dim > &mean_velocity, const std::array< double, Dim > &wavevector, double pressure, double adiabatic_index, double perturbation_size) | |
auto | get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override |
template<typename DataType > | |
auto | variables (const tnsr::I< DataType, Dim > &x, double t, tmpl::list< hydro::Tags::Temperature< DataType > >) const -> tuples::TaggedTuple< hydro::Tags::Temperature< DataType > > |
template<typename DataType > | |
auto | variables (const tnsr::I< DataType, Dim > &x, double, tmpl::list< hydro::Tags::ElectronFraction< DataType > >) const -> tuples::TaggedTuple< hydro::Tags::ElectronFraction< DataType > > |
template<typename DataType , typename... Tags> | |
tuples::TaggedTuple< Tags... > | variables (const tnsr::I< DataType, Dim > &x, const double t, tmpl::list< Tags... >) const |
Retrieve a collection of hydro variables at (x, t) | |
template<typename DataType , typename Tag > | |
tuples::TaggedTuple< Tag > | variables (const tnsr::I< DataType, Dim > &x, double t, tmpl::list< Tag >) const |
Retrieve the metric variables. | |
template<typename DataType > | |
tuples::TaggedTuple< hydro::Tags::MagneticField< DataType, Dim > > | variables (const tnsr::I< DataType, Dim > &x, double t, tmpl::list< hydro::Tags::MagneticField< DataType, Dim > >) const |
template<typename DataType > | |
tuples::TaggedTuple< hydro::Tags::DivergenceCleaningField< DataType > > | variables (const tnsr::I< DataType, Dim > &x, double t, tmpl::list< hydro::Tags::DivergenceCleaningField< DataType > >) const |
void | pup (PUP::er &) override |
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
![]() | |
auto | variables (const tnsr::I< DataType, Dim > &x, tmpl::list< hydro::Tags::Temperature< DataType > >) const -> tuples::TaggedTuple< hydro::Tags::Temperature< DataType > > |
auto | variables (const tnsr::I< DataType, Dim > &x, const double t, tmpl::list< hydro::Tags::Temperature< DataType > >) const -> tuples::TaggedTuple< hydro::Tags::Temperature< DataType > > |
auto | variables (ExtraVars &extra_variables, const tnsr::I< DataType, Dim > &x, Args &... extra_args, tmpl::list< hydro::Tags::Temperature< DataType > >) const -> tuples::TaggedTuple< hydro::Tags::Temperature< DataType > > |
Static Public Attributes | |
static constexpr Options::String | help |
![]() | |
static constexpr size_t | volume_dim = Dim |
Friends | |
template<size_t SpatialDim> | |
bool | operator== (const SmoothFlow< SpatialDim > &lhs, const SmoothFlow< SpatialDim > &rhs) |
Smooth wave propagating in Minkowski spacetime.
The relativistic Euler equations in Minkowski spacetime accept a solution with constant pressure and uniform spatial velocity provided that the rest mass density satisfies the advection equation
and the specific internal energy is a function of the rest mass density only,
where we have assumed
|
overridevirtual |
Implements evolution::initial_data::InitialData.
|
staticconstexpr |