CoolProp  6.6.0
An open-source fluid property and humid air property database
Classes | Namespaces | Functions | Variables
DataStructures.cpp File Reference
#include "DataStructures.h"
#include "Exceptions.h"
#include "CoolPropTools.h"
#include "CoolProp.h"
#include <memory>

Go to the source code of this file.

Classes

struct  CoolProp::parameter_info
 
class  CoolProp::ParameterInformation
 
struct  CoolProp::phase_info
 
class  CoolProp::PhaseInformation
 
struct  CoolProp::scheme_info
 
class  CoolProp::SchemeInformation
 
struct  CoolProp::input_pair_info
 
class  CoolProp::InputPairInformation
 
struct  CoolProp::backend_family_info
 
struct  CoolProp::backend_info
 
class  CoolProp::BackendInformation
 

Namespaces

 CoolProp
 Code for all the binary pairs in the mixture.
 

Functions

const ParameterInformation & CoolProp::get_parameter_information ()
 
bool CoolProp::is_trivial_parameter (int key)
 Returns true if the input is trivial (constants, critical parameters, etc.) More...
 
std::string CoolProp::get_parameter_information (int key, const std::string &info)
 
std::string CoolProp::get_csv_parameter_list ()
 Return a list of parameters. More...
 
bool CoolProp::is_valid_parameter (const std::string &name, parameters &iOutput)
 Returns true if a valid parameter, and sets value in the variable iOutput. More...
 
bool CoolProp::is_valid_first_derivative (const std::string &name, parameters &iOf, parameters &iWrt, parameters &iConstant)
 
bool CoolProp::is_valid_first_saturation_derivative (const std::string &name, parameters &iOf, parameters &iWrt)
 
bool CoolProp::is_valid_second_derivative (const std::string &name, parameters &iOf1, parameters &iWrt1, parameters &iConstant1, parameters &iWrt2, parameters &iConstant2)
 
const PhaseInformation & CoolProp::get_phase_information ()
 
const std::string & CoolProp::get_phase_short_desc (phases phase)
 
bool CoolProp::is_valid_phase (const std::string &phase_name, phases &iOutput)
 
phases CoolProp::get_phase_index (const std::string &param_name)
 Return the enum key corresponding to the phase name ("phase_liquid" for instance) More...
 
const SchemeInformation & CoolProp::get_scheme_information ()
 
const std::string & CoolProp::get_scheme_short_desc (schemes scheme)
 
bool CoolProp::is_valid_scheme (const std::string &scheme_name, schemes &iOutput)
 
schemes CoolProp::get_scheme_index (const std::string &scheme_name)
 Return the enum key corresponding to the association scheme name ("2B" for instance) More...
 
parameters CoolProp::get_parameter_index (const std::string &param_name)
 Return the enum key corresponding to the parameter name ("Dmolar" for instance) More...
 
const InputPairInformation & CoolProp::get_input_pair_information ()
 
input_pairs CoolProp::get_input_pair_index (const std::string &input_pair_name)
 Get the input pair index associated with its string representation. More...
 
const std::string & CoolProp::get_input_pair_short_desc (input_pairs pair)
 Return the short description of an input pair key ("DmolarT_INPUTS" for instance) More...
 
const std::string & CoolProp::get_input_pair_long_desc (input_pairs pair)
 Return the long description of an input pair key ("Molar density in mol/m^3, Temperature in K" for instance) More...
 
void CoolProp::split_input_pair (input_pairs pair, parameters &p1, parameters &p2)
 Split an input pair into parameters for the two parts that form the pair. More...
 
const BackendInformation & CoolProp::get_backend_information ()
 
void CoolProp::extract_backend_families (std::string backend_string, backend_families &f1, backend_families &f2)
 Convert a string into the enum values. More...
 
void CoolProp::extract_backend_families_string (std::string backend_string, backend_families &f1, std::string &f2)
 
std::string CoolProp::get_backend_string (backends backend)
 

Variables

const parameter_info CoolProp::parameter_info_list []
 
ParameterInformation * CoolProp::parameter_information_p = nullptr
 
const phase_info CoolProp::phase_info_list []
 
PhaseInformation * CoolProp::phase_information_p = nullptr
 
const scheme_info CoolProp::scheme_info_list []
 
SchemeInformation * CoolProp::scheme_information_p = nullptr
 
const input_pair_info CoolProp::input_pair_list []
 
InputPairInformation * CoolProp::input_pair_information_p = nullptr
 
const backend_family_info CoolProp::backend_family_list []
 
const backend_info CoolProp::backend_list []
 
BackendInformation * CoolProp::backend_information_p = nullptr