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:
Ian Bell
2014-10-14 11:21:07 +02:00
parent c200e9e057
commit 199ced3f86
7 changed files with 90 additions and 29 deletions

View File

@@ -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()));
}