mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix set_reference_stateD(); closes #1091
Now all inputs are molar, and the function actually works!
This commit is contained in:
@@ -150,10 +150,10 @@ You might want to start by looking at CoolProp.h
|
||||
/// Set the reference state based on a thermodynamic state point specified by temperature and molar density
|
||||
/// @param FluidName The name of the fluid
|
||||
/// @param T Temperature at reference state [K]
|
||||
/// @param rhomolar Density at reference state [mol/m^3]
|
||||
/// @param h0 Enthalpy at reference state [J/mol]
|
||||
/// @param s0 Entropy at references state [J/mol/K]
|
||||
void set_reference_stateD(const std::string &FluidName, double T, double rhomolar, double h0, double s0);
|
||||
/// @param rhomolar Molar density at reference state [mol/m^3]
|
||||
/// @param hmolar0 Molar enthalpy at reference state [J/mol]
|
||||
/// @param smolar0 Molar entropy at reference state [J/mol/K]
|
||||
void set_reference_stateD(const std::string &FluidName, double T, double rhomolar, double hmolar0, double smolar0);
|
||||
|
||||
/// Return a string representation of the phase
|
||||
/// @param Name1 The first state variable name, one of "T","D","H",etc.
|
||||
|
||||
Reference in New Issue
Block a user