teqp 0.22.0
Loading...
Searching...
No Matches
teqp::MultiFluid< CorrespondingTerm, DepartureTerm > Class Template Reference

#include <multifluid.hpp>

Public Types

using GasConstantCalculator = multifluid::gasconstant::GasConstantCalculator
 

Public Member Functions

template<class VecType >
auto R (const VecType &molefracs) const
 
void set_meta (const std::string &m)
 Store some sort of metadata in string form (perhaps a JSON representation of the model?)
 
auto get_meta () const
 Get the metadata stored in string form.
 
const std::variant< double, std::string > get_BIP (const std::size_t &i, const std::size_t &j, const std::string &key) const
 Return a binary interaction parameter.
 
 MultiFluid (ReducingFunctions &&redfunc, CorrespondingTerm &&corr, DepartureTerm &&dep, GasConstantCalculator &&Rcalc)
 
template<typename TType , typename RhoType >
auto alphar (TType T, const RhoType &rhovec, const std::optional< typename RhoType::value_type > rhotot=std::nullopt) const
 
template<typename TType , typename RhoType , typename MoleFracType >
auto alphar (const TType &T, const RhoType &rho, const MoleFracType &molefrac) const
 
template<typename TType , typename RhoType , typename MoleFracType >
auto alphar_taudelta (const TType &tau, const RhoType &delta, const MoleFracType &molefrac) const
 
template<typename TType , typename RhoType >
auto alphar_taudeltai (const TType &tau, const RhoType &delta, const std::size_t i) const
 

Public Attributes

const ReducingFunctions redfunc
 
const CorrespondingTerm corr
 
const DepartureTerm dep
 
const GasConstantCalculator Rcalc
 

Detailed Description

template<typename CorrespondingTerm, typename DepartureTerm>
class teqp::MultiFluid< CorrespondingTerm, DepartureTerm >

Definition at line 119 of file multifluid.hpp.

Member Typedef Documentation

◆ GasConstantCalculator

template<typename CorrespondingTerm , typename DepartureTerm >
using teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::GasConstantCalculator = multifluid::gasconstant::GasConstantCalculator

Definition at line 127 of file multifluid.hpp.

Constructor & Destructor Documentation

◆ MultiFluid()

template<typename CorrespondingTerm , typename DepartureTerm >
teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::MultiFluid ( ReducingFunctions && redfunc,
CorrespondingTerm && corr,
DepartureTerm && dep,
GasConstantCalculator && Rcalc )
inline

Definition at line 150 of file multifluid.hpp.

Member Function Documentation

◆ alphar() [1/2]

template<typename CorrespondingTerm , typename DepartureTerm >
template<typename TType , typename RhoType , typename MoleFracType >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::alphar ( const TType & T,
const RhoType & rho,
const MoleFracType & molefrac ) const
inline

Definition at line 163 of file multifluid.hpp.

◆ alphar() [2/2]

template<typename CorrespondingTerm , typename DepartureTerm >
template<typename TType , typename RhoType >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::alphar ( TType T,
const RhoType & rhovec,
const std::optional< typename RhoType::value_type > rhotot = std::nullopt ) const
inline

Definition at line 153 of file multifluid.hpp.

◆ alphar_taudelta()

template<typename CorrespondingTerm , typename DepartureTerm >
template<typename TType , typename RhoType , typename MoleFracType >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::alphar_taudelta ( const TType & tau,
const RhoType & delta,
const MoleFracType & molefrac ) const
inline

Definition at line 180 of file multifluid.hpp.

◆ alphar_taudeltai()

template<typename CorrespondingTerm , typename DepartureTerm >
template<typename TType , typename RhoType >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::alphar_taudeltai ( const TType & tau,
const RhoType & delta,
const std::size_t i ) const
inline

Definition at line 194 of file multifluid.hpp.

◆ get_BIP()

template<typename CorrespondingTerm , typename DepartureTerm >
const std::variant< double, std::string > teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::get_BIP ( const std::size_t & i,
const std::size_t & j,
const std::string & key ) const
inline

Return a binary interaction parameter.

Definition at line 140 of file multifluid.hpp.

◆ get_meta()

template<typename CorrespondingTerm , typename DepartureTerm >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::get_meta ( ) const
inline

Get the metadata stored in string form.

Definition at line 138 of file multifluid.hpp.

◆ R()

template<typename CorrespondingTerm , typename DepartureTerm >
template<class VecType >
auto teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::R ( const VecType & molefracs) const
inline

Definition at line 131 of file multifluid.hpp.

◆ set_meta()

template<typename CorrespondingTerm , typename DepartureTerm >
void teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::set_meta ( const std::string & m)
inline

Store some sort of metadata in string form (perhaps a JSON representation of the model?)

Definition at line 136 of file multifluid.hpp.

Member Data Documentation

◆ corr

template<typename CorrespondingTerm , typename DepartureTerm >
const CorrespondingTerm teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::corr

Definition at line 125 of file multifluid.hpp.

◆ dep

template<typename CorrespondingTerm , typename DepartureTerm >
const DepartureTerm teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::dep

Definition at line 126 of file multifluid.hpp.

◆ Rcalc

template<typename CorrespondingTerm , typename DepartureTerm >
const GasConstantCalculator teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::Rcalc

Definition at line 128 of file multifluid.hpp.

◆ redfunc

template<typename CorrespondingTerm , typename DepartureTerm >
const ReducingFunctions teqp::MultiFluid< CorrespondingTerm, DepartureTerm >::redfunc

Definition at line 124 of file multifluid.hpp.


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