Added saturation spline to the AbstractState and REFPROP interfaces

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-06-11 15:38:49 +02:00
parent 3127ace162
commit ca7fc30a58
5 changed files with 47 additions and 24 deletions

View File

@@ -302,6 +302,10 @@ double AbstractState::fugacity_coefficient(int i){
// TODO: Cache the fug. coeff for each component
return calc_fugacity_coefficient(i);
}
void AbstractState::build_phase_envelope(const std::string &type)
{
calc_phase_envelope(type);
}
double AbstractState::isothermal_compressibility(void){
return 1.0/_rhomolar*first_partial_deriv(iDmolar, iP, iT);
}