teqp 0.22.0
Loading...
Searching...
No Matches
teqp::saft::genericsaft::GenericSAFT Struct Reference

#include <genericsaft.hpp>

Public Types

using TwoCLJ = twocenterljf::Twocenterljf<twocenterljf::DipolarContribution>
 
using NonPolarTerms = std::variant<saft::pcsaft::PCSAFTMixture, SAFTVRMie::SAFTVRMieNonpolarMixture, saft::softsaft::SoftSAFT, TwoCLJ>
 
using AssociationTerms = std::variant<association::Association>
 

Public Member Functions

 GenericSAFT (const nlohmann::json &j)
 
template<class VecType >
auto R (const VecType &molefrac) const
 
template<typename TType , typename RhoType , typename MoleFractions >
auto alphar (const TType &T, const RhoType &rho, const MoleFractions &molefrac) const
 

Public Attributes

NonPolarTerms nonpolar
 
std::optional< AssociationTermsassociation
 

Detailed Description

Definition at line 11 of file genericsaft.hpp.

Member Typedef Documentation

◆ AssociationTerms

◆ NonPolarTerms

◆ TwoCLJ

Constructor & Destructor Documentation

◆ GenericSAFT()

teqp::saft::genericsaft::GenericSAFT::GenericSAFT ( const nlohmann::json & j)
inline

Definition at line 50 of file genericsaft.hpp.

Member Function Documentation

◆ alphar()

template<typename TType , typename RhoType , typename MoleFractions >
auto teqp::saft::genericsaft::GenericSAFT::alphar ( const TType & T,
const RhoType & rho,
const MoleFractions & molefrac ) const
inline

Definition at line 66 of file genericsaft.hpp.

◆ R()

template<class VecType >
auto teqp::saft::genericsaft::GenericSAFT::R ( const VecType & molefrac) const
inline

Definition at line 57 of file genericsaft.hpp.

Member Data Documentation

◆ association

std::optional<AssociationTerms> teqp::saft::genericsaft::GenericSAFT::association

Definition at line 63 of file genericsaft.hpp.

◆ nonpolar

NonPolarTerms teqp::saft::genericsaft::GenericSAFT::nonpolar

Definition at line 61 of file genericsaft.hpp.


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