Can get long name from the incompressible fluid

Something like

rr = get_fluid_param_string("INCOMP::MEG","long_name");

Closes https://github.com/CoolProp/CoolProp/issues/244

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-11-26 16:41:00 -05:00
parent f0fa7cbaae
commit fab9811c5c
2 changed files with 22 additions and 2 deletions

View File

@@ -124,6 +124,8 @@ public:
long double calc_fraction_max(void){return fluid->getxmax();};
long double calc_T_freeze(void){
return fluid->Tfreeze(_p, _fractions[0]);};
std::string calc_name(void){return fluid->getDescription();};
};
} /* namespace CoolProp */