mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Implement acentric factor through AbstractState and Props1SI; closes #448
Fix all instances of accentric->acentric in fluid files and codebase. Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -168,6 +168,8 @@ double AbstractState::trivial_keyed_output(int key)
|
||||
{
|
||||
case imolar_mass:
|
||||
return molar_mass();
|
||||
case iacentric_factor:
|
||||
return acentric_factor();
|
||||
case igas_constant:
|
||||
return gas_constant();
|
||||
case iT_min:
|
||||
@@ -378,6 +380,9 @@ double AbstractState::conductivity(void){
|
||||
double AbstractState::melting_line(int param, int given, double value){
|
||||
return calc_melting_line(param, given, value);
|
||||
}
|
||||
double AbstractState::acentric_factor(){
|
||||
return calc_acentric_factor();
|
||||
}
|
||||
double AbstractState::saturation_ancillary(parameters param, int Q, parameters given, double value){
|
||||
return calc_saturation_ancillary(param, Q, given, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user