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

Detailed Description

Definition at line 219 of file Ancillaries.h.

#include <Ancillaries.h>

Public Types

enum  MeltingLineVariablesEnum { MELTING_LINE_NOT_SET = 0 , MELTING_LINE_SIMON_TYPE , MELTING_LINE_POLYNOMIAL_IN_TR_TYPE , MELTING_LINE_POLYNOMIAL_IN_THETA_TYPE }
 

Public Member Functions

 MeltingLineVariables ()
 
CoolPropDbl evaluate (int OF, int GIVEN, CoolPropDbl value)
 Evaluate the melting line. More...
 
void set_limits ()
 Evaluate the melting line to calculate the limits of the curve (Tmin/Tmax and pmin/pmax) More...
 
bool enabled ()
 Return true if the ancillary is enabled (type is not the default value of MELTING_LINE_NOT_SET) More...
 

Public Attributes

CoolPropDbl Tmin
 Minimum temperature in K. More...
 
CoolPropDbl Tmax
 Maximum temperature in K. More...
 
CoolPropDbl pmin
 Minimum pressure in Pa. More...
 
CoolPropDbl pmax
 Maximum pressure in Pa. More...
 
std::string BibTeX
 BibTeX key for the melting curve in use. More...
 
CoolPropDbl T_m
 Melting temperature at 1 atmosphere. More...
 
MeltingLinePiecewiseSimonData simon
 
MeltingLinePiecewisePolynomialInTrData polynomial_in_Tr
 The data used for a Simon-style curve. More...
 
MeltingLinePiecewisePolynomialInThetaData polynomial_in_Theta
 The data needed for a melting curve formed of segments that are polynomials in \( T/T_c \). More...
 
int type
 The data needed for a melting curve formed of segments that are polynomials in \( \theta \). More...
 

Member Enumeration Documentation

◆ MeltingLineVariablesEnum

Enumerator
MELTING_LINE_NOT_SET 
MELTING_LINE_SIMON_TYPE 

A simon-type curve is in use.

MELTING_LINE_POLYNOMIAL_IN_TR_TYPE 

a polynomial in \( T/T_c \) is in use

MELTING_LINE_POLYNOMIAL_IN_THETA_TYPE 

a polynomial in \( \theta \) is in use

Definition at line 222 of file Ancillaries.h.

Constructor & Destructor Documentation

◆ MeltingLineVariables()

CoolProp::MeltingLineVariables::MeltingLineVariables ( )
inline

Definition at line 243 of file Ancillaries.h.

Member Function Documentation

◆ enabled()

bool CoolProp::MeltingLineVariables::enabled ( void  )
inline

Return true if the ancillary is enabled (type is not the default value of MELTING_LINE_NOT_SET)

Definition at line 257 of file Ancillaries.h.

◆ evaluate()

CoolPropDbl CoolProp::MeltingLineVariables::evaluate ( int  OF,
int  GIVEN,
CoolPropDbl  value 
)

Evaluate the melting line.

Parameters
OFThe output variable
GIVENThe given variable
valueThe value of the given variable

Definition at line 145 of file Ancillaries.cpp.

◆ set_limits()

void CoolProp::MeltingLineVariables::set_limits ( void  )

Evaluate the melting line to calculate the limits of the curve (Tmin/Tmax and pmin/pmax)

Definition at line 105 of file Ancillaries.cpp.

Member Data Documentation

◆ BibTeX

std::string CoolProp::MeltingLineVariables::BibTeX

BibTeX key for the melting curve in use.

Definition at line 234 of file Ancillaries.h.

◆ pmax

CoolPropDbl CoolProp::MeltingLineVariables::pmax

Maximum pressure in Pa.

Definition at line 232 of file Ancillaries.h.

◆ pmin

CoolPropDbl CoolProp::MeltingLineVariables::pmin

Minimum pressure in Pa.

Definition at line 231 of file Ancillaries.h.

◆ polynomial_in_Theta

MeltingLinePiecewisePolynomialInThetaData CoolProp::MeltingLineVariables::polynomial_in_Theta

The data needed for a melting curve formed of segments that are polynomials in \( T/T_c \).

Definition at line 240 of file Ancillaries.h.

◆ polynomial_in_Tr

MeltingLinePiecewisePolynomialInTrData CoolProp::MeltingLineVariables::polynomial_in_Tr

The data used for a Simon-style curve.

Definition at line 238 of file Ancillaries.h.

◆ simon

MeltingLinePiecewiseSimonData CoolProp::MeltingLineVariables::simon

Definition at line 236 of file Ancillaries.h.

◆ T_m

CoolPropDbl CoolProp::MeltingLineVariables::T_m

Melting temperature at 1 atmosphere.

Definition at line 235 of file Ancillaries.h.

◆ Tmax

CoolPropDbl CoolProp::MeltingLineVariables::Tmax

Maximum temperature in K.

Definition at line 230 of file Ancillaries.h.

◆ Tmin

CoolPropDbl CoolProp::MeltingLineVariables::Tmin

Minimum temperature in K.

Definition at line 229 of file Ancillaries.h.

◆ type

int CoolProp::MeltingLineVariables::type

The data needed for a melting curve formed of segments that are polynomials in \( \theta \).

Definition at line 241 of file Ancillaries.h.


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