SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
RadiationTransport::M1Grey::Solutions::ConstantM1 Class Reference

Constant solution to M1 equations in Minkowski spacetime. More...

#include <ConstantM1.hpp>

Classes

struct  ComovingEnergyDensity
 The radiation comoving energy density. More...
struct  MeanVelocity
 The mean flow velocity. More...

Public Types

using options = tmpl::list<MeanVelocity, ComovingEnergyDensity>

Public Member Functions

 ConstantM1 (const ConstantM1 &)=default
ConstantM1operator= (const ConstantM1 &)=default
 ConstantM1 (ConstantM1 &&)=default
ConstantM1operator= (ConstantM1 &&)=default
 ConstantM1 (const std::array< double, 3 > &mean_velocity, double comoving_energy_density)
auto get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override
 ConstantM1 (CkMigrateMessage *msg)
 WRAPPED_PUPable_decl_template (ConstantM1)
template<typename... Tags>
tuples::TaggedTuple< Tags... > variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tags... >) const
 Retrieve a collection of fluid and neutrino variables at (x, t)
template<typename Tag>
tuples::TaggedTuple< Tag > variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< Tag >) const
 Retrieve the metric variables.
void pup (PUP::er &) override
template<typename NeutrinoSpecies>
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< RadiationTransport::M1Grey::Tags::TildeE< Frame::Inertial, NeutrinoSpecies > >) const -> tuples::TaggedTuple< RadiationTransport::M1Grey::Tags::TildeE< Frame::Inertial, NeutrinoSpecies > >
 Retrieve fluid and neutrino variables at (x, t)
template<typename NeutrinoSpecies>
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< RadiationTransport::M1Grey::Tags::TildeS< Frame::Inertial, NeutrinoSpecies > >) const -> tuples::TaggedTuple< RadiationTransport::M1Grey::Tags::TildeS< Frame::Inertial, NeutrinoSpecies > >
 Retrieve fluid and neutrino variables at (x, t)
template<typename NeutrinoSpecies>
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< RadiationTransport::M1Grey::Tags::GreyEmissivity< NeutrinoSpecies > >) const -> tuples::TaggedTuple< RadiationTransport::M1Grey::Tags::GreyEmissivity< NeutrinoSpecies > >
 Retrieve fluid and neutrino variables at (x, t)
template<typename NeutrinoSpecies>
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< RadiationTransport::M1Grey::Tags::GreyAbsorptionOpacity< NeutrinoSpecies > >) const -> tuples::TaggedTuple< RadiationTransport::M1Grey::Tags::GreyAbsorptionOpacity< NeutrinoSpecies > >
 Retrieve fluid and neutrino variables at (x, t)
template<typename NeutrinoSpecies>
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< RadiationTransport::M1Grey::Tags::GreyScatteringOpacity< NeutrinoSpecies > >) const -> tuples::TaggedTuple< RadiationTransport::M1Grey::Tags::GreyScatteringOpacity< NeutrinoSpecies > >
 Retrieve fluid and neutrino variables at (x, t)
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< hydro::Tags::LorentzFactor< DataVector > >) const -> tuples::TaggedTuple< hydro::Tags::LorentzFactor< DataVector > >
 Retrieve fluid and neutrino variables at (x, t)
auto variables (const tnsr::I< DataVector, 3 > &x, double t, tmpl::list< hydro::Tags::SpatialVelocity< DataVector, 3 > >) const -> tuples::TaggedTuple< hydro::Tags::SpatialVelocity< DataVector, 3 > >
 Retrieve fluid and neutrino variables at (x, t)

Static Public Attributes

static constexpr Options::String help

Friends

bool operator== (const ConstantM1 &lhs, const ConstantM1 &rhs)

Detailed Description

Constant solution to M1 equations in Minkowski spacetime.

An analytic solution to the 3-D M1 system. The user specifies the mean flow velocity of the fluid and the radiation energy density in the fluid frame J. The radiation is taken to be in equilibrium with the fluid (i.e. comoving, with an isotropic pressure P=J/3)

Member Function Documentation

◆ get_clone()

auto RadiationTransport::M1Grey::Solutions::ConstantM1::get_clone ( ) const -> std::unique_ptr< evolution::initial_data::InitialData >
overridevirtual

Member Data Documentation

◆ help

Options::String RadiationTransport::M1Grey::Solutions::ConstantM1::help
staticconstexpr
Initial value:
= {
"Constant radiation field in equilibrium with fluid, in Minkowski "
"spacetime."}

The documentation for this class was generated from the following file:
  • src/PointwiseFunctions/AnalyticSolutions/RadiationTransport/M1Grey/ConstantM1.hpp