| 57 | } |
| 58 | |
| 59 | PCSAFTLibraryClass::PCSAFTLibraryClass() : empty(true) { |
| 60 | // Populate via the file-private helper so the constructor does NOT recurse |
| 61 | // through get_library() while the singleton is still being built. |
| 62 | add_fluids_from_JSON_string(*this, all_pcsaft_JSON); |
| 63 | |
| 64 | // Then we add the library of binary interaction parameters |
| 65 | if (m_binary_pair_map.size() == 0) { |
| 66 | PCSAFTLibraryClass::load_from_string(mixture_binary_pairs_pcsaft_JSON); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | // Get a PCSAFTFluid instance stored in this library |
| 71 | PCSAFTFluid& PCSAFTLibraryClass::get(const std::string& key) { |
nothing calls this directly
no test coverage detected