teqp 0.22.0
Loading...
Searching...
No Matches
teqp::MathiasCopemanAlphaFunction< NumType > Class Template Reference

The Mathias-Copeman alpha function used by Peng-Robinson and SRK. More...

#include <cubics.hpp>

Public Member Functions

 MathiasCopemanAlphaFunction (NumType Tci, const Eigen::Array3d &c)
 
template<typename TType >
auto operator() (const TType &T) const
 

Detailed Description

template<typename NumType>
class teqp::MathiasCopemanAlphaFunction< NumType >

The Mathias-Copeman alpha function used by Peng-Robinson and SRK.

\[ \alpha_i = (1+c_0x + c_1x^2 + c_2x^3)^2 \]

with

\[ x = 1-\sqrt{\frac{T}{T_{ci}}} \]

Definition at line 79 of file cubics.hpp.

Constructor & Destructor Documentation

◆ MathiasCopemanAlphaFunction()

template<typename NumType >
teqp::MathiasCopemanAlphaFunction< NumType >::MathiasCopemanAlphaFunction ( NumType Tci,
const Eigen::Array3d & c )
inline

Definition at line 84 of file cubics.hpp.

Member Function Documentation

◆ operator()()

template<typename NumType >
template<typename TType >
auto teqp::MathiasCopemanAlphaFunction< NumType >::operator() ( const TType & T) const
inline

Definition at line 90 of file cubics.hpp.


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