Prop.hpp
53 static auto elementAmountInPhase(const ChemicalSystem& system, const String& element, const String& phase) -> Prop;
59 static auto elementMassInPhase(const ChemicalSystem& system, const String& element, const String& phase) -> Prop;
71 static auto speciesActivityCoefficient(const ChemicalSystem& system, const String& species) -> Prop;
77 static auto speciesChemicalPotential(const ChemicalSystem& system, const String& species) -> Prop;
83 static auto speciesStandardGibbsEnergy(const ChemicalSystem& system, const String& species) -> Prop;
86 static auto speciesStandardEnthalpy(const ChemicalSystem& system, const String& species) -> Prop;
92 static auto speciesStandardInternalEnergy(const ChemicalSystem& system, const String& species) -> Prop;
95 static auto speciesStandardHelmholtzEnergy(const ChemicalSystem& system, const String& species) -> Prop;
98 static auto speciesStandardHeatCapacitiesConstP(const ChemicalSystem& system, const String& species) -> Prop;
101 static auto speciesStandardHeatCapacitiesConstV(const ChemicalSystem& system, const String& species) -> Prop;
The class that computes chemical properties of a chemical system.
Definition: ChemicalProps.hpp:34
The class used to represent a chemical system and its attributes and properties.
Definition: ChemicalSystem.hpp:70
Used to retrieve a specified property from the chemical properties of a system.
Definition: Prop.hpp:36
static auto speciesStandardHelmholtzEnergy(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar Helmholtz energy of formation of...
static auto speciesAmount(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the amount of a species in the system (in mol).
static auto phaseMass(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the sum of species masses in a phase of the system (in kg).
static auto internalEnergy(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the internal energy of formation of the system (in J).
static auto phaseHelmholtzEnergy(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the Helmholtz energy of formation of a phase in the system ...
static auto phaseEnthalpy(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the enthalpy of formation of a phase in the system (in J).
static auto speciesMass(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the mass of a species in the system (in kg).
static auto elementMassInPhase(const ChemicalSystem &system, const String &element, const String &phase) -> Prop
Return a property function that evaluates the mass of an element in a phase of the system (in kg).
auto operator()(const ChemicalProps &props) -> real
Evaluate the property with given chemical properties of the system.
static auto phaseGibbsEnergy(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the Gibbs energy of formation of a phase in the system (in ...
static auto speciesChemicalPotential(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the chemical potentials of a species in the system (in J/mo...
static auto enthalpy(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the enthalpy of formation of the system (in J).
static auto mass(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the sum of species masses in the system (in kg).
static auto pressure(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the pressure of the system (in Pa).
static auto phaseEntropy(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the entropy of formation of the a phase in system (in J/K).
auto eval(const ChemicalProps &props) -> real
Evaluate the property with given chemical properties of the system.
static auto elementAmountInPhase(const ChemicalSystem &system, const String &element, const String &phase) -> Prop
Return a property function that evaluates the amount of an element in a phase of the system (in mol).
static auto helmholtzEnergy(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the Helmholtz energy of formation of the system (in J).
static auto speciesStandardEnthalpy(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar enthalpy of formation of a speci...
static auto phaseInternalEnergy(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the internal energy of formation of a phase in the system (...
static auto phaseVolume(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the volume of a phase in the system (in m3).
static auto elementAmount(const ChemicalSystem &system, const String &element) -> Prop
Return a property function that evaluates the amount of an element in the system (in mol).
static auto speciesStandardEntropy(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar entropy of formation of a specie...
static auto speciesStandardInternalEnergy(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar internal energy of formation of ...
static auto speciesStandardHeatCapacitiesConstV(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar isochoric heat capacity of a spe...
Prop(const PropFn &propfn)
Construct a Prop evaluator object with given property evaluation function.
static auto elementMass(const ChemicalSystem &system, const String &element) -> Prop
Return a property function that evaluates the mass of an element in the system (in kg).
static auto speciesStandardGibbsEnergy(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar Gibbs energy of formation of a s...
static auto amount(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the sum of species amounts in the system (in mol).
static auto speciesActivity(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the activity of a species in the system.
static auto gibbsEnergy(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the Gibbs energy of formation of the system (in J).
static auto speciesStandardHeatCapacitiesConstP(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar isobaric heat capacity of a spec...
static auto speciesActivityCoefficient(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the activity coefficient of a species in the system.
static auto temperature(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the temperature of the system (in K).
static auto speciesMoleFraction(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the mole fraction of a species in the system.
static auto speciesStandardVolume(const ChemicalSystem &system, const String &species) -> Prop
Return a property function that evaluates the standard partial molar volume of a species in the syste...
static auto entropy(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the entropy of formation of the system (in J/K).
static auto volume(const ChemicalSystem &system) -> Prop
Return a property function that evaluates the volume of the system (in m3).
static auto phaseAmount(const ChemicalSystem &system, const String &phase) -> Prop
Return a property function that evaluates the sum of species amounts in a phase of the system (in mol...
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
Fn< real(const ChemicalProps &props)> PropFn
The function type for evaluation of a property of a chemical system.
Definition: Prop.hpp:32
std::function< F > Fn
Convenient alias for std::function<R(Args...)>.
Definition: Types.hpp:110