SpECTRE
v2025.03.17
|
An equation of state given by parametrized enthalpy. More...
#include <Enthalpy.hpp>
Classes | |
struct | CosCoefficients |
struct | MaximumDensity |
struct | MinimumDensity |
struct | PolynomialCoefficients |
struct | ReferenceDensity |
struct | SinCoefficients |
struct | StitchedLowDensityEoS |
struct | TransitionDeltaEpsilon |
struct | TrigScaling |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Enthalpy (const Enthalpy &)=default | |
Enthalpy & | operator= (const Enthalpy &)=default |
Enthalpy (Enthalpy &&)=default | |
Enthalpy & | operator= (Enthalpy &&)=default |
Enthalpy (double reference_density, double max_density, double min_density, double trig_scale, const std::vector< double > &polynomial_coefficients, const std::vector< double > &sin_coefficients, const std::vector< double > &cos_coefficients, const LowDensityEoS &low_density_eos, const double transition_delta_epsilon) | |
std::unique_ptr< EquationOfState< true, 1 > > | get_clone () const override |
std::unique_ptr< EquationOfState< true, 3 > > | promote_to_3d_eos () const override |
std::unique_ptr< EquationOfState< true, 2 > > | promote_to_2d_eos () const override |
bool | is_equal (const EquationOfState< true, 1 > &rhs) const override |
bool | operator== (const Enthalpy< LowDensityEoS > &rhs) const |
bool | operator!= (const Enthalpy< LowDensityEoS > &rhs) const |
WRAPPED_PUPable_decl_base_template (SINGLE_ARG(EquationOfState< true, 1 >), Enthalpy) | |
double | rest_mass_density_lower_bound () const override |
The lower bound of the rest mass density that is valid for this EOS. | |
double | rest_mass_density_upper_bound () const override |
The upper bound of the rest mass density that is valid for this EOS. | |
double | specific_enthalpy_lower_bound () const override |
The lower bound of the specific enthalpy that is valid for this EOS. | |
double | specific_internal_energy_lower_bound () const override |
The lower bound of the specific internal energy that is valid for this EOS. | |
double | specific_internal_energy_upper_bound () const override |
The upper bound of the specific internal energy that is valid for this EOS. | |
double | baryon_mass () const override |
The vacuum baryon mass for this EoS. | |
Static Public Member Functions | |
static std::string | name () |
Static Public Attributes | |
static constexpr size_t | thermodynamic_dim = 1 |
static constexpr bool | is_relativistic = true |
static constexpr Options::String | help |
An equation of state given by parametrized enthalpy.
This equation of state is determined as a function of
This form allows for convenient calculation of thermodynamic quantities for a cold equation of state. For example
where
This can be computed analytically because
and
From this most other thermodynamic quantities can be computed analytically
The internal energy density
The pressure
The derivative of the pressure with respect to the rest mass density
Below the minimum density, a spectral parameterization is used.
|
staticconstexpr |