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

Detailed Description

A data structure to hold the data for a phase envelope.

Definition at line 36 of file PhaseEnvelope.h.

#include <PhaseEnvelope.h>

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

Public Member Functions

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

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

◆ PhaseEnvelopeData()

PHASE_ENVELOPE_MATRICES CoolProp::PhaseEnvelopeData::PhaseEnvelopeData ( )
inline

Definition at line 57 of file PhaseEnvelope.h.

Member Function Documentation

◆ clear()

void CoolProp::PhaseEnvelopeData::clear ( )
inline

Definition at line 65 of file PhaseEnvelope.h.

◆ insert_variables()

void CoolProp::PhaseEnvelopeData::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 
)
inline

Definition at line 74 of file PhaseEnvelope.h.

◆ resize()

void CoolProp::PhaseEnvelopeData::resize ( std::size_t  N)
inline

Definition at line 59 of file PhaseEnvelope.h.

◆ store_variables()

void CoolProp::PhaseEnvelopeData::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 
)
inline

Definition at line 105 of file PhaseEnvelope.h.

Member Data Documentation

◆ built

bool CoolProp::PhaseEnvelopeData::built

True if the phase envelope has been constructed.

Definition at line 40 of file PhaseEnvelope.h.

◆ icrit

std::size_t CoolProp::PhaseEnvelopeData::icrit

The index of the point corresponding to the critical point.

Definition at line 43 of file PhaseEnvelope.h.

◆ ipsat_max

std::size_t CoolProp::PhaseEnvelopeData::ipsat_max

The index of the point corresponding to the maximum pressure for Type-I mixtures.

Definition at line 42 of file PhaseEnvelope.h.

◆ iTsat_max

std::size_t CoolProp::PhaseEnvelopeData::iTsat_max

The index of the point corresponding to the maximum temperature for Type-I mixtures.

Definition at line 41 of file PhaseEnvelope.h.

◆ TypeI

bool CoolProp::PhaseEnvelopeData::TypeI

True if it is a Type-I mixture that has a phase envelope that looks like a pure fluid more or less.

Definition at line 39 of file PhaseEnvelope.h.


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