mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-23 21:08:06 -05:00
Implemented Phase output again
Added PhaseSI function which will return phase for given input - exposed to DLL PropsSI can also return phase as double if "Phase" is the input Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -262,6 +262,8 @@ double AbstractState::keyed_output(int key)
|
||||
return viscosity();
|
||||
case iconductivity:
|
||||
return conductivity();
|
||||
case iPhase:
|
||||
return phase();
|
||||
default:
|
||||
throw ValueError(format("This input [%d: \"%s\"] is not valid for keyed_output",key,get_parameter_information(key,"short").c_str()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user