mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Enable tau and delta outputs from AbstractState
This commit is contained in:
@@ -459,6 +459,10 @@ double AbstractState::keyed_output(parameters key) {
|
||||
return PIP();
|
||||
case ifundamental_derivative_of_gas_dynamics:
|
||||
return fundamental_derivative_of_gas_dynamics();
|
||||
case iTau:
|
||||
return _reducing.T/_T;
|
||||
case iDelta:
|
||||
return _rhomolar/_reducing.rhomolar;
|
||||
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