#include <CPA.hpp>
|
| CPACubic (cubic_flag flag, const std::valarray< double > &a0, const std::valarray< double > &bi, const std::valarray< double > &c1, const std::valarray< double > &Tc, const double R_gas, const std::optional< std::vector< std::vector< double > > > &kmat=std::nullopt) |
|
std::size_t | size () const |
|
template<typename VecType > |
auto | R (const VecType &) const |
|
template<typename TType > |
auto | get_ai (TType T, int i) const |
|
template<typename TType , typename VecType > |
auto | get_ab (const TType T, const VecType &molefrac) const |
|
template<typename TType , typename RhoType , typename VecType > |
auto | alphar (const TType T, const RhoType rhomolar, const VecType &molefrac) const |
|
Definition at line 124 of file CPA.hpp.
◆ CPACubic()
teqp::CPA::CPACubic::CPACubic |
( |
cubic_flag | flag, |
|
|
const std::valarray< double > & | a0, |
|
|
const std::valarray< double > & | bi, |
|
|
const std::valarray< double > & | c1, |
|
|
const std::valarray< double > & | Tc, |
|
|
const double | R_gas, |
|
|
const std::optional< std::vector< std::vector< double > > > & | kmat = std::nullopt ) |
|
inline |
◆ alphar()
template<typename TType , typename RhoType , typename VecType >
auto teqp::CPA::CPACubic::alphar |
( |
const TType | T, |
|
|
const RhoType | rhomolar, |
|
|
const VecType & | molefrac ) const |
|
inline |
◆ get_ab()
template<typename TType , typename VecType >
auto teqp::CPA::CPACubic::get_ab |
( |
const TType | T, |
|
|
const VecType & | molefrac ) const |
|
inline |
◆ get_ai()
template<typename TType >
auto teqp::CPA::CPACubic::get_ai |
( |
TType | T, |
|
|
int | i ) const |
|
inline |
◆ R()
template<typename VecType >
auto teqp::CPA::CPACubic::R |
( |
const VecType & | | ) |
const |
|
inline |
◆ size()
std::size_t teqp::CPA::CPACubic::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: