Thermodynamical functions
ChemistryLab.AbstractFuncChemistryLab.NumericFuncChemistryLab.SymbolicFuncChemistryLab.ThermoFactory
ChemistryLab.SymbolicFunc — Type
SymbolicFuncThermodynamic function with symbolic expression and compiled evaluation.
ChemistryLab.NumericFunc — Type
NumericFunc{N, F, R, Q} <: AbstractFuncClosure-backed thermodynamic function for models that cannot be represented as symbolic expressions (e.g. HKF, or any other numeric model). Calling convention is identical to SymbolicFunc: f(; T=..., P=..., unit=false).
Variable values are resolved in order: kwarg > refs > _NF_DEFAULT_REFS. refs stores Quantity values so that unit information is preserved.
Fields
compiled: closure(vars...) → valuein SI units.vars: names of the positional arguments (e.g.(:T, :P)).refs:NamedTupleof default variable values asQuantity(e.g.(T=298.15u"K", P=1e5u"Pa")).unit: output unit (DynamicQuantitiesQuantity).
ChemistryLab.AbstractFunc — Type
AbstractFuncAbstract type for objects that can be called like functions.
ChemistryLab.ThermoFactory — Type
ThermoFactoryFactory for creating SymbolicFunc instances from expressions.