CoolProp  6.6.1dev
An open-source fluid property and humid air property database
Classes | Namespaces | Functions
MixtureParameters.cpp File Reference
#include "MixtureParameters.h"
#include "CPstrings.h"
#include "mixture_departure_functions_JSON.h"
#include "mixture_binary_pairs_JSON.h"
#include "predefined_mixtures_JSON.h"

Go to the source code of this file.

Classes

class  CoolProp::PredefinedMixturesLibrary
 A library of predefined mixtures. More...
 
class  CoolProp::MixtureBinaryPairLibrary
 A library of binary pair parameters for the mixture. More...
 
class  CoolProp::MixtureDepartureFunctionsLibrary
 A container for the departure functions for CoolProp mixtures. More...
 

Namespaces

 CoolProp
 Code for all the binary pairs in the mixture.
 

Functions

std::string CoolProp::get_csv_predefined_mixtures ()
 Get a comma-separated list of predefined mixtures in CoolProp. More...
 
bool CoolProp::is_predefined_mixture (const std::string &name, Dictionary &dict)
 Get the parameters for a predefined mixture - R410A, R404A, etc. if the mixture is predefined. More...
 
void CoolProp::set_predefined_mixtures (const std::string &string_data)
 Set predefined mixtures at runtime. More...
 
void CoolProp::apply_simple_mixing_rule (const std::string &identifier1, const std::string &identifier2, const std::string &rule)
 Add a simple mixing rule. More...
 
std::string CoolProp::get_csv_mixture_binary_pairs ()
 Get a comma-separated list of CAS code pairs. More...
 
std::string CoolProp::get_mixture_binary_pair_data (const std::string &CAS1, const std::string &CAS2, const std::string &param)
 Get a string for the given binary pair. More...
 
void CoolProp::set_mixture_binary_pair_data (const std::string &CAS1, const std::string &CAS2, const std::string &param, const double val)
 Set a parameter for the given binary pair. More...
 
std::string CoolProp::get_reducing_function_name (const std::string &CAS1, const std::string &CAS2)
 
void CoolProp::set_interaction_parameters (const std::string &string_data)
 Set the interaction parameters from a string format. More...
 
DepartureFunction * CoolProp::get_departure_function (const std::string &Name)
 Get the allocated Departure function for a given departure function name. More...
 
void CoolProp::parse_HMX_BNC (const std::string &s, std::vector< REFPROP_binary_element > &BIP, std::vector< REFPROP_departure_function > &functions)
 
void CoolProp::set_departure_functions (const std::string &string_data)
 Set the departure functions in the departure function library from a string format. More...