diff --git a/src/Backends/Tabular/TabularBackends.h b/src/Backends/Tabular/TabularBackends.h index 25624f27..14a09b6f 100644 --- a/src/Backends/Tabular/TabularBackends.h +++ b/src/Backends/Tabular/TabularBackends.h @@ -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);