|
| Tabulated3D (const Tabulated3D &)=default |
|
Tabulated3D & | operator= (const Tabulated3D &)=default |
|
| Tabulated3D (Tabulated3D &&)=default |
|
Tabulated3D & | operator= (Tabulated3D &&)=default |
|
| Tabulated3D (const std::string &filename, const std::string &subfilename) |
|
| Tabulated3D (std::vector< double > electron_fraction, std::vector< double > log_density, std::vector< double > log_temperature, std::vector< double > table_data, double energy_shift, double enthalpy_minimum) |
|
| Tabulated3D (const h5::EosTable &spectre_eos) |
|
template<class DataType > |
void | convert_to_table_quantities (const gsl::not_null< Scalar< DataType > * > converted_electron_fraction, const gsl::not_null< Scalar< DataType > * > log_rest_mass_density, const gsl::not_null< Scalar< DataType > * > log_temperature, const Scalar< DataType > &electron_fraction, const Scalar< DataType > &rest_mass_density, const Scalar< DataType > &temperature) const |
|
std::unique_ptr< EquationOfState< IsRelativistic, 3 > > | get_clone () const override |
|
void | initialize (std::vector< double > electron_fraction, std::vector< double > log_density, std::vector< double > log_temperature, std::vector< double > table_data, double energy_shift, double enthalpy_minimum) |
|
void | initialize (const h5::EosTable &spectre_eos) |
|
bool | is_equal (const EquationOfState< IsRelativistic, 3 > &rhs) const override |
|
bool | is_barotropic () const override |
| Returns true if the EOS is barotropic. More...
|
|
bool | is_equilibrium () const override |
| Returns true if the EOS is in beta-equilibrium. More...
|
|
bool | operator== (const Tabulated3D< IsRelativistic > &rhs) const |
|
bool | operator!= (const Tabulated3D< IsRelativistic > &rhs) const |
|
template<class DataType > |
Scalar< DataType > | equilibrium_electron_fraction_from_density_temperature_impl (const Scalar< DataType > &rest_mass_density, const Scalar< DataType > &temperature) const |
|
template<typename DataType > |
void | enforce_physicality (Scalar< DataType > &electron_fraction, Scalar< DataType > &density, Scalar< DataType > &temperature) const |
|
| WRAPPED_PUPable_decl_base_template (SINGLE_ARG(EquationOfState< IsRelativistic, 3 >), Tabulated3D) |
|
double | electron_fraction_lower_bound () const override |
| The lower bound of the electron fraction that is valid for this EOS. More...
|
|
double | electron_fraction_upper_bound () const override |
| The upper bound of the electron fraction that is valid for this EOS. More...
|
|
double | rest_mass_density_lower_bound () const override |
| The lower bound of the rest mass density that is valid for this EOS. More...
|
|
double | rest_mass_density_upper_bound () const override |
| The upper bound of the rest mass density that is valid for this EOS. More...
|
|
double | temperature_lower_bound () const override |
| The lower bound of the temperature that is valid for this EOS. More...
|
|
double | temperature_upper_bound () const override |
| The upper bound of the temperature that is valid for this EOS. More...
|
|
double | specific_internal_energy_lower_bound (const double rest_mass_density, const double electron_fraction) const override |
| The lower bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\) and electron fraction \(Y_e\). More...
|
|
double | specific_internal_energy_upper_bound (const double rest_mass_density, const double electron_fraction) const override |
| The upper bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\). More...
|
|
double | specific_enthalpy_lower_bound () const override |
| The lower bound of the specific enthalpy that is valid for this EOS. More...
|
|
double | baryon_mass () const override |
| The baryon mass for this EoS. More...
|
|
|
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 |
|
| EquationOfState (const EquationOfState &)=default |
|
EquationOfState & | operator= (const EquationOfState &)=default |
|
| EquationOfState (EquationOfState &&)=default |
|
EquationOfState & | operator= (EquationOfState &&)=default |
|
| EquationOfState (CkMigrateMessage *msg) |
|
| WRAPPED_PUPable_abstract (EquationOfState) |
|
virtual std::unique_ptr< EquationOfState< IsRelativistic, 3 > > | get_clone () const =0 |
|
virtual bool | is_equal (const EquationOfState< IsRelativistic, 3 > &rhs) const =0 |
|
virtual std::unique_ptr< EquationOfState< IsRelativistic, 3 > > | promote_to_3d_eos () |
|
virtual bool | is_barotropic () const =0 |
| Returns true if the EOS is barotropic. More...
|
|
virtual bool | is_equilibrium () const =0 |
| Returns true if the EOS is in beta-equilibrium. More...
|
|
virtual double | electron_fraction_lower_bound () const =0 |
| The lower bound of the electron fraction that is valid for this EOS. More...
|
|
virtual double | electron_fraction_upper_bound () const =0 |
| The upper bound of the electron fraction that is valid for this EOS. More...
|
|
virtual double | rest_mass_density_lower_bound () const =0 |
| The lower bound of the rest mass density that is valid for this EOS. More...
|
|
virtual double | rest_mass_density_upper_bound () const =0 |
| The upper bound of the rest mass density that is valid for this EOS. More...
|
|
virtual double | specific_internal_energy_lower_bound (const double rest_mass_density, const double electron_fraction) const =0 |
| The lower bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\) and electron fraction \(Y_e\). More...
|
|
virtual double | specific_internal_energy_upper_bound (const double rest_mass_density, const double electron_fraction) const =0 |
| The upper bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\) and electron fraction \(Y_e\). More...
|
|
virtual double | specific_enthalpy_lower_bound () const =0 |
| The lower bound of the specific enthalpy that is valid for this EOS. More...
|
|
virtual double | temperature_lower_bound () const =0 |
| The lower bound of the temperature that is valid for this EOS. More...
|
|
virtual double | temperature_upper_bound () const =0 |
| The upper bound of the temperature that is valid for this EOS. More...
|
|
virtual double | baryon_mass () const |
| The vacuum mass of a baryon for this EOS. More...
|
|
virtual Scalar< double > | pressure_from_density_and_energy (const Scalar< double > &, const Scalar< double > &, const Scalar< double > &) const =0 |
|
virtual Scalar< DataVector > | pressure_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &, const Scalar< DataVector > &) const =0 |
|
virtual Scalar< double > | pressure_from_density_and_temperature (const Scalar< double > &, const Scalar< double > &, const Scalar< double > &) const =0 |
|
virtual Scalar< DataVector > | pressure_from_density_and_temperature (const Scalar< DataVector > &, const Scalar< DataVector > &, const Scalar< DataVector > &) const =0 |
|
virtual Scalar< double > | temperature_from_density_and_energy (const Scalar< double > &, const Scalar< double > &, const Scalar< double > &) const =0 |
|
virtual Scalar< DataVector > | temperature_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &, const Scalar< DataVector > &) const =0 |
|
virtual Scalar< double > | specific_internal_energy_from_density_and_temperature (const Scalar< double > &, const Scalar< double > &, const Scalar< double > &) const =0 |
|
virtual Scalar< DataVector > | specific_internal_energy_from_density_and_temperature (const Scalar< DataVector > &, const Scalar< DataVector > &, const Scalar< DataVector > &) const =0 |
|
virtual Scalar< double > | sound_speed_squared_from_density_and_temperature (const Scalar< double > &, const Scalar< double > &, const Scalar< double > &) const =0 |
|
virtual Scalar< DataVector > | sound_speed_squared_from_density_and_temperature (const Scalar< DataVector > &, const Scalar< DataVector > &, const Scalar< DataVector > &) const =0 |
|
template<bool IsRelativistic>
class EquationsOfState::Tabulated3D< IsRelativistic >
Nuclear matter equation of state in tabulated form.
The equation of state takes the form
\[ p = p (T, rho, Y_e) \]
where \(\rho\) is the rest mass density, \(T\) is the temperature, and \(Y_e\) is the electron fraction. The temperature is given in units of MeV.