SpECTRE
v2025.04.21
|
A spectral equation of state. More...
#include <Spectral.hpp>
Classes | |
struct | Coefficients |
struct | ReferenceDensity |
struct | ReferencePressure |
struct | UpperDensity |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Spectral (const Spectral &)=default | |
Spectral & | operator= (const Spectral &)=default |
Spectral (Spectral &&)=default | |
Spectral & | operator= (Spectral &&)=default |
Spectral (double reference_density, double reference_pressure, std::vector< double > coefficients, double upper_density) | |
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 | operator== (const Spectral &rhs) const |
bool | operator!= (const Spectral &rhs) const |
bool | is_equal (const EquationOfState< true, 1 > &rhs) const override |
WRAPPED_PUPable_decl_base_template (SINGLE_ARG(EquationOfState< true, 1 >), Spectral) | |
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 Attributes | |
static constexpr size_t | thermodynamic_dim = 1 |
static constexpr bool | is_relativistic = true |
static constexpr Options::String | help |
A spectral equation of state.
This equation of state is determined as a function of
for the set of spectral coefficinets
For
For
|
staticconstexpr |