CoolProp  6.6.0
An open-source fluid property and humid air property database
Public Member Functions | Public Attributes | List of all members
CoolProp::PackablePhaseEnvelopeData Class Reference

Detailed Description

Definition at line 94 of file TabularBackends.h.

#include <TabularBackends.h>

Inheritance diagram for CoolProp::PackablePhaseEnvelopeData:
CoolProp::PhaseEnvelopeData

Public Member Functions

 PackablePhaseEnvelopeData ()
 
void copy_from_nonpackable (const PhaseEnvelopeData &PED)
 
 MSGPACK_DEFINE (revision, vectors, matrices)
 
void pack ()
 Take all the vectors that are in the class and pack them into the vectors map for easy unpacking using msgpack. More...
 
std::map< std::string, std::vector< double > >::iterator get_vector_iterator (const std::string &name)
 
std::map< std::string, std::vector< std::vector< double > > >::iterator get_matrix_iterator (const std::string &name)
 
void unpack ()
 Take all the vectors that are in the class and unpack them from the vectors map. More...
 
void deserialize (msgpack::object &deserialized)
 
- Public Member Functions inherited from CoolProp::PhaseEnvelopeData
PHASE_ENVELOPE_MATRICES PhaseEnvelopeData ()
 
void resize (std::size_t N)
 
void clear ()
 
void insert_variables (const CoolPropDbl T, const CoolPropDbl p, const CoolPropDbl rhomolar_liq, const CoolPropDbl rhomolar_vap, const CoolPropDbl hmolar_liq, const CoolPropDbl hmolar_vap, const CoolPropDbl smolar_liq, const CoolPropDbl smolar_vap, const std::vector< CoolPropDbl > &x, const std::vector< CoolPropDbl > &y, std::size_t i)
 
void store_variables (const CoolPropDbl T, const CoolPropDbl p, const CoolPropDbl rhomolar_liq, const CoolPropDbl rhomolar_vap, const CoolPropDbl hmolar_liq, const CoolPropDbl hmolar_vap, const CoolPropDbl smolar_liq, const CoolPropDbl smolar_vap, const std::vector< CoolPropDbl > &x, const std::vector< CoolPropDbl > &y)
 

Public Attributes

int revision
 
std::map< std::string, std::vector< double > > vectors
 
std::map< std::string, std::vector< std::vector< double > > > matrices
 
- Public Attributes inherited from CoolProp::PhaseEnvelopeData
bool TypeI
 True if it is a Type-I mixture that has a phase envelope that looks like a pure fluid more or less. More...
 
bool built
 True if the phase envelope has been constructed. More...
 
std::size_t iTsat_max
 The index of the point corresponding to the maximum temperature for Type-I mixtures. More...
 
std::size_t ipsat_max
 The index of the point corresponding to the maximum pressure for Type-I mixtures. More...
 
std::size_t icrit
 The index of the point corresponding to the critical point. More...
 

Constructor & Destructor Documentation

◆ PackablePhaseEnvelopeData()

CoolProp::PackablePhaseEnvelopeData::PackablePhaseEnvelopeData ( )
inline

Definition at line 100 of file TabularBackends.h.

Member Function Documentation

◆ copy_from_nonpackable()

void CoolProp::PackablePhaseEnvelopeData::copy_from_nonpackable ( const PhaseEnvelopeData PED)
inline

Definition at line 102 of file TabularBackends.h.

◆ deserialize()

void CoolProp::PackablePhaseEnvelopeData::deserialize ( msgpack::object &  deserialized)
inline

Definition at line 162 of file TabularBackends.h.

◆ get_matrix_iterator()

std::map<std::string, std::vector<std::vector<double> > >::iterator CoolProp::PackablePhaseEnvelopeData::get_matrix_iterator ( const std::string &  name)
inline

Definition at line 136 of file TabularBackends.h.

◆ get_vector_iterator()

std::map<std::string, std::vector<double> >::iterator CoolProp::PackablePhaseEnvelopeData::get_vector_iterator ( const std::string &  name)
inline

Definition at line 129 of file TabularBackends.h.

◆ MSGPACK_DEFINE()

CoolProp::PackablePhaseEnvelopeData::MSGPACK_DEFINE ( revision  ,
vectors  ,
matrices   
)

◆ pack()

void CoolProp::PackablePhaseEnvelopeData::pack ( )
inline

Take all the vectors that are in the class and pack them into the vectors map for easy unpacking using msgpack.

Definition at line 119 of file TabularBackends.h.

◆ unpack()

void CoolProp::PackablePhaseEnvelopeData::unpack ( )
inline

Take all the vectors that are in the class and unpack them from the vectors map.

Definition at line 144 of file TabularBackends.h.

Member Data Documentation

◆ matrices

std::map<std::string, std::vector<std::vector<double> > > CoolProp::PackablePhaseEnvelopeData::matrices

Definition at line 114 of file TabularBackends.h.

◆ revision

int CoolProp::PackablePhaseEnvelopeData::revision

Definition at line 98 of file TabularBackends.h.

◆ vectors

std::map<std::string, std::vector<double> > CoolProp::PackablePhaseEnvelopeData::vectors

Definition at line 113 of file TabularBackends.h.


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