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

Detailed Description

An implementation of AbstractCubicAlphaFunction for the Twu alpha function.

Definition at line 49 of file GeneralizedCubic.h.

#include <GeneralizedCubic.h>

Inheritance diagram for TwuAlphaFunction:
AbstractCubicAlphaFunction

Public Member Functions

 TwuAlphaFunction (double a0, double L, double M, double N, 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

◆ TwuAlphaFunction()

TwuAlphaFunction::TwuAlphaFunction ( double  a0,
double  L,
double  M,
double  N,
double  Tr_over_Tci 
)
inline

Definition at line 52 of file GeneralizedCubic.h.

Member Function Documentation

◆ term()

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

Implements AbstractCubicAlphaFunction.

Definition at line 77 of file GeneralizedCubic.cpp.


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