Began porting the mapping system

This commit is contained in:
2026-09-20 14:37:11 -04:00
parent f69fac8f1e
commit 08a8f231d2
46 changed files with 1336 additions and 115 deletions

View File

@@ -39,7 +39,7 @@ namespace serif::eos::models {
[[nodiscard]] dimensions::SpecificEnthalpyValue evaluate(relations::SpecificEnthalpyFromPressure, dimensions::PressureValue pressure) const;
[[nodiscard]] dimensions::DensityValue evaluate(relations::DensityFromSpecificEnthalpy, dimensions::SpecificEnthalpyValue specific_enthalpy) const;
[[nodiscard]] dimensions::PartialDerivative<dimensions::Density, dimensions::SpecificEnthalpy> partial_derivative(
[[nodiscard]] dimensions::PartialDerivative<dimensions::MassDensity, dimensions::SpecificEnthalpy> partial_derivative(
relations::DensityFromSpecificEnthalpy,
dimensions::WithRespectTo<dimensions::SpecificEnthalpy>,
dimensions::SpecificEnthalpyValue specific_enthalpy
@@ -51,9 +51,9 @@ namespace serif::eos::models {
dimensions::SpecificEnthalpyValue specific_enthalpy
) const;
[[nodiscard]] dimensions::PartialDerivative<dimensions::Pressure, dimensions::Density> partial_derivative(
[[nodiscard]] dimensions::PartialDerivative<dimensions::Pressure, dimensions::MassDensity> partial_derivative(
relations::PressureFromDensity,
dimensions::WithRespectTo<dimensions::Density>,
dimensions::WithRespectTo<dimensions::MassDensity>,
dimensions::DensityValue density
) const;

View File

@@ -6,7 +6,7 @@
namespace serif::eos::relations {
using PressureFromDensity = Relation<
dimensions::Pressure,
dimensions::Density>;
dimensions::MassDensity>;
using PressureFromSpecificEnthalpy = Relation<
dimensions::Pressure,
@@ -14,13 +14,13 @@ namespace serif::eos::relations {
using SpecificEnthalpyFromDensity = Relation<
dimensions::SpecificEnthalpy,
dimensions::Density>;
dimensions::MassDensity>;
using SpecificEnthalpyFromPressure = Relation<
dimensions::SpecificEnthalpy,
dimensions::Pressure>;
using DensityFromSpecificEnthalpy = Relation<
dimensions::Density,
dimensions::MassDensity,
dimensions::SpecificEnthalpy>;
}