CoolProp
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

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.
 

Member Function Documentation

◆ 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.


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