teqp 0.19.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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 77 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 82 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 88 of file cubics.hpp.


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