Implement fake cp0 for tabular backends

This commit is contained in:
Ian Bell
2015-06-07 23:22:05 -06:00
parent 3c2688cdcf
commit 01ba02ad2b

View File

@@ -675,6 +675,9 @@ class TabularBackend : public AbstractState
/// Write the tables to file
void write_tables();
CoolPropDbl calc_cpmolar_idealgas(void){
return this->AS->cp0molar();
}
CoolPropDbl calc_T(void){
if (using_single_phase_table){
switch(selected_table){