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

Detailed Description

An implementation of AbstractCubicAlphaFunction for the Mathias-Copeman alpha function.

Definition at line 62 of file GeneralizedCubic.h.

#include <GeneralizedCubic.h>

Inheritance diagram for MathiasCopemanAlphaFunction:
AbstractCubicAlphaFunction

Public Member Functions

 MathiasCopemanAlphaFunction (double a0, double c1, double c2, double c3, double Tr_over_Tci)
 
double term (double tau, std::size_t itau)
 
- Public Member Functions inherited from AbstractCubicAlphaFunction
virtual ~AbstractCubicAlphaFunction ()
 
void set_Tr_over_Tci (double Tr_over_Tci)
 
 AbstractCubicAlphaFunction (double a0, double Tr_over_Tci)
 

Additional Inherited Members

- Protected Attributes inherited from AbstractCubicAlphaFunction
double a0
 The constant term multiplying the alpha function. More...
 
double Tr_over_Tci
 The (constant) reducing temperature divided by the critical temperature of the pure component. More...
 
double sqrt_Tr_Tci
 The sqrt of the (constant) reducing temperature divided by the critical temperature of the pure component. More...
 
std::vector< double > c
 The vector of constants. More...
 

Constructor & Destructor Documentation

◆ MathiasCopemanAlphaFunction()

MathiasCopemanAlphaFunction::MathiasCopemanAlphaFunction ( double  a0,
double  c1,
double  c2,
double  c3,
double  Tr_over_Tci 
)
inline

Definition at line 65 of file GeneralizedCubic.h.

Member Function Documentation

◆ term()

double MathiasCopemanAlphaFunction::term ( double  tau,
std::size_t  itau 
)
virtual

Implements AbstractCubicAlphaFunction.

Definition at line 31 of file GeneralizedCubic.cpp.


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