mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Implemented conformal state solver for ECS
Closes https://github.com/CoolProp/CoolProp/issues/185 Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -279,6 +279,8 @@ double AbstractState::keyed_output(int key)
|
||||
return conductivity();
|
||||
case iPhase:
|
||||
return phase();
|
||||
case iZ:
|
||||
return compressibility_factor();
|
||||
default:
|
||||
throw ValueError(format("This input [%d: \"%s\"] is not valid for keyed_output",key,get_parameter_information(key,"short").c_str()));
|
||||
}
|
||||
@@ -388,6 +390,8 @@ double AbstractState::Bvirial(void){ return calc_Bvirial(); }
|
||||
double AbstractState::Cvirial(void){ return calc_Cvirial(); }
|
||||
double AbstractState::dBvirial_dT(void){ return calc_dBvirial_dT(); }
|
||||
double AbstractState::dCvirial_dT(void){ return calc_dCvirial_dT(); }
|
||||
double AbstractState::compressibility_factor(void){ return calc_compressibility_factor(); }
|
||||
|
||||
|
||||
// // ----------------------------------------
|
||||
// // Smoothing functions for density
|
||||
|
||||
Reference in New Issue
Block a user