CoolProp  6.6.1dev
An open-source fluid property and humid air property database
Public Member Functions | List of all members
CoolProp::MixtureBinaryPairLibrary Class Reference

Detailed Description

A library of binary pair parameters for the mixture.

Each entry in the binary pair library includes reducing parameters as well as the name of the reducing function to be used and

Definition at line 83 of file MixtureParameters.cpp.

Public Member Functions

std::map< std::vector< std::string >, std::vector< Dictionary > > & binary_pair_map ()
 
void load_from_string (const std::string &str)
 
void load_defaults ()
 
void load_from_JSON (rapidjson::Document &doc)
 Construct the binary pair library including all the binary pairs that are possible. More...
 
void add_simple_mixing_rule (const std::string &identifier1, const std::string &identifier2, const std::string &rule)
 Add a simple mixing rule. More...
 

Member Function Documentation

◆ add_simple_mixing_rule()

void CoolProp::MixtureBinaryPairLibrary::add_simple_mixing_rule ( const std::string &  identifier1,
const std::string &  identifier2,
const std::string &  rule 
)
inline

Add a simple mixing rule.

Definition at line 198 of file MixtureParameters.cpp.

◆ binary_pair_map()

std::map<std::vector<std::string>, std::vector<Dictionary> >& CoolProp::MixtureBinaryPairLibrary::binary_pair_map ( )
inline

Definition at line 90 of file MixtureParameters.cpp.

◆ load_defaults()

void CoolProp::MixtureBinaryPairLibrary::load_defaults ( )
inline

Definition at line 110 of file MixtureParameters.cpp.

◆ load_from_JSON()

void CoolProp::MixtureBinaryPairLibrary::load_from_JSON ( rapidjson::Document &  doc)
inline

Construct the binary pair library including all the binary pairs that are possible.

The data structure also includes space for a string that gives the pointer to the departure function to be used for this binary pair.

Definition at line 118 of file MixtureParameters.cpp.

◆ load_from_string()

void CoolProp::MixtureBinaryPairLibrary::load_from_string ( const std::string &  str)
inline

Definition at line 98 of file MixtureParameters.cpp.


The documentation for this class was generated from the following file: