MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / CubicsLibraryClass

Method CubicsLibraryClass

src/Backends/Cubics/CubicsLibrary.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147} // anonymous namespace
148
149CubicsLibraryClass::CubicsLibraryClass() : empty(true) {
150 // Populate via the file-private helper so the constructor does NOT recurse
151 // through get_library() while the singleton is still being built.
152 add_fluids_from_JSON_string(*this, all_cubics_JSON);
153}
154
155/// Function-local static (Meyers singleton). C++11 guarantees the
156/// constructor runs exactly once even under concurrent first calls. The

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected