CoolProp  6.6.0
An open-source fluid property and humid air property database
Classes | Functions
CoolProp::CubicLibrary Namespace Reference

Classes

class  CubicsLibraryClass
 
struct  CubicsValues
 

Functions

void add_fluids_as_JSON (const std::string &JSON)
 Add an array of fluids to the cubics library (as a JSON-formatted string) More...
 
std::string get_fluid_as_JSONstring (const std::string &identifier)
 
CubicLibrary::CubicsValues get_cubic_values (const std::string &identifier)
 
std::string get_cubic_fluids_schema ()
 Get the schema used to validate the cubic fluids. More...
 
std::string get_cubic_fluids_list ()
 Get a csv separated list of fluid names that are loaded. More...
 

Function Documentation

◆ add_fluids_as_JSON()

void CoolProp::CubicLibrary::add_fluids_as_JSON ( const std::string &  JSON)

Add an array of fluids to the cubics library (as a JSON-formatted string)

Parameters
JSONA JSON-formatted string with the fluid information

Definition at line 143 of file CubicsLibrary.cpp.

◆ get_cubic_fluids_list()

std::string CoolProp::CubicLibrary::get_cubic_fluids_list ( )

Get a csv separated list of fluid names that are loaded.

Definition at line 175 of file CubicsLibrary.cpp.

◆ get_cubic_fluids_schema()

std::string CoolProp::CubicLibrary::get_cubic_fluids_schema ( )

Get the schema used to validate the cubic fluids.

Definition at line 172 of file CubicsLibrary.cpp.

◆ get_cubic_values()

CubicsValues CoolProp::CubicLibrary::get_cubic_values ( const std::string &  identifier)
Parameters
identifierThe name or registry number of the fluid (or an alias)

Definition at line 169 of file CubicsLibrary.cpp.

◆ get_fluid_as_JSONstring()

std::string CoolProp::CubicLibrary::get_fluid_as_JSONstring ( const std::string &  identifier)
Parameters
identifierThe name or registry number of the fluid (or an alias)

Definition at line 165 of file CubicsLibrary.cpp.