|
| | Polytrope (const PolytropeParameters ¶meters) |
| | Constructs a Polytrope with the given parameters.
|
| |
| | Polytrope (double n, double K) |
| | Constructs a Polytrope with the given polytropic index and constant.
|
| |
| double | polytropic_index () const noexcept |
| | Returns the polytropic index of the equation of state.
|
| |
| double | polytropic_constant () const noexcept |
| | Returns the polytropic constant of the equation of state.
|
| |
| double | enthalpy_scale () const noexcept |
| | Returns the enthalpy scale of the equation of state. Note that this is calculated at construction time from the polytropic index and constant as h = (n + 1) * K.
|
| |
| dimensions::PressureValue | evaluate (relations::PressureFromDensity, dimensions::DensityValue density) const |
| | Evaluate the pressure from the density.
|
| |
| dimensions::DensityValue | evaluate (relations::DensityFromPressure, dimensions::PressureValue pressure) const |
| | Evaluate the density at a nonnegative pressure, including the vacuum trace.
|
| |
| dimensions::BarotropicPressurePotentialValue | evaluate (relations::PressurePotentialFromDensity, dimensions::DensityValue density) const |
| | Evaluate the pressure primitive; for this EOS it equals the specific enthalpy and vanishes in vacuum.
|
| |
| dimensions::PressureValue | evaluate (relations::PressureFromSpecificEnthalpy, dimensions::SpecificEnthalpyValue specific_enthalpy) const |
| | Evaluate the pressure from the specific enthalpy.
|
| |
| dimensions::SpecificEnthalpyValue | evaluate (relations::SpecificEnthalpyFromDensity, dimensions::DensityValue density) const |
| | Evaluate the specific enthalpy from the density.
|
| |
| dimensions::SpecificEnthalpyValue | evaluate (relations::SpecificEnthalpyFromPressure, dimensions::PressureValue pressure) const |
| | Evaluate the specific enthalpy from the pressure.
|
| |
| dimensions::DensityValue | evaluate (relations::DensityFromSpecificEnthalpy, dimensions::SpecificEnthalpyValue specific_enthalpy) const |
| | Evaluate the density from the specific enthalpy.
|
| |
| dimensions::PartialDerivative< dimensions::MassDensity, dimensions::SpecificEnthalpy > | partial_derivative (relations::DensityFromSpecificEnthalpy, dimensions::WithRespectTo< dimensions::SpecificEnthalpy >, dimensions::SpecificEnthalpyValue specific_enthalpy) const |
| | Evaluate the partial derivative of the density with respect to the specific enthalpy.
|
| |
| dimensions::PartialDerivative< dimensions::Pressure, dimensions::SpecificEnthalpy > | partial_derivative (relations::PressureFromSpecificEnthalpy, dimensions::WithRespectTo< dimensions::SpecificEnthalpy >, dimensions::SpecificEnthalpyValue specific_enthalpy) const |
| | Evaluate the partial derivative of the pressure with respect to the specific enthalpy.
|
| |
| dimensions::PartialDerivative< dimensions::Pressure, dimensions::MassDensity > | partial_derivative (relations::PressureFromDensity, dimensions::WithRespectTo< dimensions::MassDensity >, dimensions::DensityValue density) const |
| | Evaluate the partial derivative of the pressure with respect to the mass density.
|
| |
| dimensions::SecondPartialDerivative< dimensions::Pressure, dimensions::MassDensity, dimensions::MassDensity > | second_partial_derivative (relations::PressureFromDensity, dimensions::WithRespectTo< dimensions::MassDensity >, dimensions::WithRespectTo< dimensions::MassDensity >, dimensions::DensityValue density) const |
| | Evaluate d²P/dρ²; for n > 1 its vacuum limit is singular and is rejected.
|
| |