| 366 | } |
| 367 | |
| 368 | void CoolProp::TabularBackend::write_tables() { |
| 369 | std::string path_to_tables = this->path_to_tables(); |
| 370 | make_dirs(path_to_tables); |
| 371 | dataset = library.get_set_of_tables(this->AS).first; |
| 372 | PackablePhaseEnvelopeData& phase_envelope = dataset->phase_envelope; |
| 373 | PureFluidSaturationTableData& pure_saturation = dataset->pure_saturation; |
| 374 | SinglePhaseGriddedTableData& single_phase_logph = dataset->single_phase_logph; |
| 375 | SinglePhaseGriddedTableData& single_phase_logpT = dataset->single_phase_logpT; |
| 376 | write_table(single_phase_logph, path_to_tables, "single_phase_logph"); |
| 377 | write_table(single_phase_logpT, path_to_tables, "single_phase_logpT"); |
| 378 | write_table(pure_saturation, path_to_tables, "pure_saturation"); |
| 379 | write_table(phase_envelope, path_to_tables, "phase_envelope"); |
| 380 | } |
| 381 | void CoolProp::TabularBackend::load_tables() { |
| 382 | auto [ds, loaded] = library.get_set_of_tables(this->AS); |
| 383 | dataset = ds; |
nothing calls this directly
no test coverage detected