mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 20:38:01 -05:00
Implement surface_tension for tabular backends; closes #760
This commit is contained in:
@@ -811,7 +811,12 @@ class TabularBackend : public AbstractState
|
||||
this->AS->set_T(_T);
|
||||
return this->AS->cp0molar();
|
||||
}
|
||||
|
||||
/// Calculate the surface tension using the wrapped class (fast enough)
|
||||
CoolPropDbl calc_surface_tension(void){
|
||||
this->AS->set_T(_T);
|
||||
return this->AS->surface_tension();
|
||||
this->AS->set_T(_HUGE);
|
||||
}
|
||||
CoolPropDbl calc_p(void);
|
||||
CoolPropDbl calc_T(void);
|
||||
CoolPropDbl calc_rhomolar(void);
|
||||
|
||||
Reference in New Issue
Block a user