CoolProp
CoolProp::MeltingLineVariables Class Reference

## 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

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)

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

## Public Attributes

CoolPropDbl Tmin
Minimum temperature in K.

CoolPropDbl Tmax
Maximum temperature in K.

CoolPropDbl pmin
Minimum pressure in Pa.

CoolPropDbl pmax
Maximum pressure in Pa.

std::string BibTeX
BibTeX key for the melting curve in use.

CoolPropDbl T_m
Melting temperature at 1 atmosphere.

MeltingLinePiecewiseSimonData simon

MeltingLinePiecewisePolynomialInTrData polynomial_in_Tr
The data used for a Simon-style curve.

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

int type
The data needed for a melting curve formed of segments that are polynomials in $$\theta$$.

## § MeltingLineVariablesEnum

Enumerator
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

## § evaluate()

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

Evaluate the melting line.

Parameters
 OF The output variable GIVEN The given variable value The value of the given variable

The documentation for this class was generated from the following files:
• include/Ancillaries.h
• src/Backends/Helmholtz/Fluids/Ancillaries.cpp