SpECTRE
v2025.03.17
|
A 3D equation of state representing a barotropic fluid. More...
#include <Barotropic3D.hpp>
Classes | |
struct | UnderlyingEos |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Barotropic3D (const Barotropic3D &)=default | |
Barotropic3D & | operator= (const Barotropic3D &)=default |
Barotropic3D (Barotropic3D &&)=default | |
Barotropic3D & | operator= (Barotropic3D &&)=default |
Barotropic3D (const ColdEquilEos &underlying_eos) | |
std::unique_ptr< EquationOfState< ColdEquilEos::is_relativistic, 3 > > | get_clone () const override |
bool | is_equal (const EquationOfState< ColdEquilEos::is_relativistic, 3 > &rhs) const override |
bool | is_barotropic () const override |
Returns true if the EOS is barotropic. | |
bool | is_equilibrium () const override |
Returns true if the EOS is in beta-equilibrium. | |
bool | operator== (const Barotropic3D< ColdEquilEos > &rhs) const |
bool | operator!= (const Barotropic3D< ColdEquilEos > &rhs) const |
WRAPPED_PUPable_decl_base_template (SINGLE_ARG(EquationOfState< ColdEquilEos::is_relativistic, 3 >), Barotropic3D) | |
double | electron_fraction_lower_bound () const override |
The lower bound of the electron fraction that is valid for this EOS. | |
double | electron_fraction_upper_bound () const override |
The upper bound of the electron fraction that is valid for this EOS. | |
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 | temperature_lower_bound () const override |
The lower bound of the temperature that is valid for this EOS. | |
double | temperature_upper_bound () const override |
The upper bound of the temperature that is valid for this EOS. | |
double | specific_internal_energy_lower_bound (const double, const double) const override |
The lower bound of the specific internal energy that is valid for this EOS at the given rest mass density | |
double | specific_internal_energy_upper_bound (const double, const double) const override |
The upper bound of the specific internal energy that is valid for this EOS at the given rest mass density | |
double | specific_enthalpy_lower_bound () const override |
The lower bound of the specific enthalpy that is valid for this EOS. | |
double | baryon_mass () const override |
The baryon mass for this EoS. | |
Scalar< double > | equilibrium_electron_fraction_from_density_temperature (const Scalar< double > &rest_mass_density, const Scalar< double > &temperature) const override |
Scalar< DataVector > | equilibrium_electron_fraction_from_density_temperature (const Scalar< DataVector > &rest_mass_density, const Scalar< DataVector > &temperature) const override |
Static Public Member Functions | |
static std::string | name () |
Static Public Attributes | |
static constexpr size_t | thermodynamic_dim = 3 |
static constexpr bool | is_relativistic = ColdEquilEos::is_relativistic |
static constexpr Options::String | help |
A 3D equation of state representing a barotropic fluid.
The equation of state takes the form
where
|
inlineoverride |
Computes the electron fraction in beta-equilibrium
|
inlineoverride |
Computes the electron fraction in beta-equilibrium
|
staticconstexpr |