|
SpECTRE
2021.08.02
|
Equation of state for an ideal fluid. More...
#include <IdealFluid.hpp>
Classes | |
| struct | AdiabaticIndex |
Public Types | |
| using | options = tmpl::list< AdiabaticIndex > |
Public Types inherited from EquationsOfState::EquationOfState< IsRelativistic, 2 > | |
| using | creatable_classes = typename detail::DerivedClasses< IsRelativistic, 2 >::type |
Public Member Functions | |
| IdealFluid (const IdealFluid &)=default | |
| IdealFluid & | operator= (const IdealFluid &)=default |
| IdealFluid (IdealFluid &&)=default | |
| IdealFluid & | operator= (IdealFluid &&)=default |
| IdealFluid (double adiabatic_index) noexcept | |
| WRAPPED_PUPable_decl_base_template (SINGLE_ARG(EquationOfState< IsRelativistic, 2 >), IdealFluid) | |
| double | rest_mass_density_lower_bound () const noexcept override |
| The lower bound of the rest mass density that is valid for this EOS. More... | |
| double | rest_mass_density_upper_bound () const noexcept override |
| The upper bound of the rest mass density that is valid for this EOS. More... | |
| double | specific_internal_energy_lower_bound (const double) const noexcept override |
| The lower bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\). More... | |
| double | specific_internal_energy_upper_bound (double rest_mass_density) const noexcept 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 noexcept override |
| The lower bound of the specific enthalpy that is valid for this EOS. More... | |
Public Member Functions inherited from EquationsOfState::EquationOfState< IsRelativistic, 2 > | |
| EquationOfState (const EquationOfState &)=default | |
| EquationOfState & | operator= (const EquationOfState &)=default |
| EquationOfState (EquationOfState &&)=default | |
| EquationOfState & | operator= (EquationOfState &&)=default |
| WRAPPED_PUPable_abstract (EquationOfState) | |
| virtual Scalar< double > | pressure_from_density_and_energy (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | pressure_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
| virtual Scalar< double > | pressure_from_density_and_enthalpy (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | pressure_from_density_and_enthalpy (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
| virtual Scalar< double > | specific_enthalpy_from_density_and_energy (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | specific_enthalpy_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
| virtual Scalar< double > | specific_internal_energy_from_density_and_pressure (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | specific_internal_energy_from_density_and_pressure (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
| virtual Scalar< double > | chi_from_density_and_energy (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | chi_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
| virtual Scalar< double > | kappa_times_p_over_rho_squared_from_density_and_energy (const Scalar< double > &, const Scalar< double > &) const noexcept=0 |
| virtual Scalar< DataVector > | kappa_times_p_over_rho_squared_from_density_and_energy (const Scalar< DataVector > &, const Scalar< DataVector > &) const noexcept=0 |
Static Public Attributes | |
| static constexpr size_t | thermodynamic_dim = 2 |
| static constexpr bool | is_relativistic = IsRelativistic |
| static constexpr Options::String | help |
Static Public Attributes inherited from EquationsOfState::EquationOfState< IsRelativistic, 2 > | |
| static constexpr bool | is_relativistic = IsRelativistic |
| static constexpr size_t | thermodynamic_dim = 2 |
Equation of state for an ideal fluid.
An ideal fluid equation of state:
\[ p = \rho \epsilon(\gamma-1) \]
where \(\rho\) is the rest mass density, \(\epsilon\) is the specific internal energy, and \(\gamma\) is the adiabatic index.
|
inlineoverridevirtualnoexcept |
The lower bound of the rest mass density that is valid for this EOS.
Implements EquationsOfState::EquationOfState< IsRelativistic, 2 >.
|
inlineoverridevirtualnoexcept |
The upper bound of the rest mass density that is valid for this EOS.
Implements EquationsOfState::EquationOfState< IsRelativistic, 2 >.
|
inlineoverridevirtualnoexcept |
The lower bound of the specific enthalpy that is valid for this EOS.
Implements EquationsOfState::EquationOfState< IsRelativistic, 2 >.
|
inlineoverridevirtualnoexcept |
The lower bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\).
Implements EquationsOfState::EquationOfState< IsRelativistic, 2 >.
|
overridevirtualnoexcept |
The upper bound of the specific internal energy that is valid for this EOS at the given rest mass density \(\rho\).
Implements EquationsOfState::EquationOfState< IsRelativistic, 2 >.
|
staticconstexpr |