teqp 0.22.0
Loading...
Searching...
No Matches
teqp::CPA::AssociationVariantWrapper Struct Reference

#include <CPA.hpp>

Public Types

using vartype = std::variant<CPAAssociation, association::Association>
 

Public Member Functions

 AssociationVariantWrapper (const vartype &holder)
 
template<typename TType , typename RhoType , typename MoleFracsType >
auto alphar (const TType &T, const RhoType &rhomolar, const MoleFracsType &molefracs) const
 
auto get_assoc_calcs (double T, double rhomolar, const Eigen::ArrayXd &mole_fractions) const
 

Public Attributes

const vartype holder
 

Detailed Description

Definition at line 282 of file CPA.hpp.

Member Typedef Documentation

◆ vartype

Constructor & Destructor Documentation

◆ AssociationVariantWrapper()

teqp::CPA::AssociationVariantWrapper::AssociationVariantWrapper ( const vartype & holder)
inline

Definition at line 286 of file CPA.hpp.

Member Function Documentation

◆ alphar()

template<typename TType , typename RhoType , typename MoleFracsType >
auto teqp::CPA::AssociationVariantWrapper::alphar ( const TType & T,
const RhoType & rhomolar,
const MoleFracsType & molefracs ) const
inline

Definition at line 289 of file CPA.hpp.

◆ get_assoc_calcs()

auto teqp::CPA::AssociationVariantWrapper::get_assoc_calcs ( double T,
double rhomolar,
const Eigen::ArrayXd & mole_fractions ) const
inline

Definition at line 293 of file CPA.hpp.

Member Data Documentation

◆ holder

const vartype teqp::CPA::AssociationVariantWrapper::holder

Definition at line 284 of file CPA.hpp.


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