SpECTRE
v2025.03.17
|
Applies a pressure and density floor dependent on the distance to the origin. More...
#include <RadiallyFallingFloor.hpp>
Classes | |
struct | MinimumRadius |
The minimum radius at which to begin applying the floors on the density and pressure. More... | |
struct | PowerDensityFloor |
The power of the radius of the floor of the rest mass density. More... | |
struct | PowerPressureFloor |
The power of the radius of the floor of the pressure. More... | |
struct | ScaleDensityFloor |
The scale of the floor of the rest mass density. More... | |
struct | ScalePressureFloor |
The scale of the floor of the pressure. More... | |
Public Types | |
using | options = implementation defined |
using | return_tags = implementation defined |
using | argument_tags = implementation defined |
Public Member Functions | |
RadiallyFallingFloor (double minimum_radius_at_which_to_apply_floor, double rest_mass_density_scale, double rest_mass_density_power, double pressure_scale, double pressure_power) | |
RadiallyFallingFloor (const RadiallyFallingFloor &)=default | |
RadiallyFallingFloor & | operator= (const RadiallyFallingFloor &)=default |
RadiallyFallingFloor (RadiallyFallingFloor &&)=default | |
RadiallyFallingFloor & | operator= (RadiallyFallingFloor &&)=default |
void | pup (PUP::er &p) |
template<size_t ThermodynamicDim> | |
void | operator() (gsl::not_null< Scalar< DataVector > * > density, gsl::not_null< Scalar< DataVector > * > pressure, gsl::not_null< Scalar< DataVector > * > specific_internal_energy, gsl::not_null< Scalar< DataVector > * > temperature, gsl::not_null< Scalar< DataVector > * > electron_fraction, const tnsr::I< DataVector, Dim, Frame::Inertial > &coords, const EquationsOfState::EquationOfState< true, ThermodynamicDim > &equation_of_state) const |
Static Public Attributes | |
static constexpr Options::String | help |
Friends | |
template<size_t LocalDim> | |
bool | operator== (const RadiallyFallingFloor< LocalDim > &lhs, const RadiallyFallingFloor< LocalDim > &rhs) |
Applies a pressure and density floor dependent on the distance to the origin.
Applies the floors: ScaleDensityFloor
, PowerDensityFloor
, ScalePressureFloor
, PowerPressureFloor
, and MinimumRadius
.
|
staticconstexpr |