teqp 0.22.0
Loading...
Searching...
No Matches
teqp::MultiFluidAdapter< DepartureFunction, BaseClass > Class Template Reference

#include <multifluid_mutant.hpp>

Public Member Functions

template<class VecType >
auto R (const VecType &molefrac) const
 
 MultiFluidAdapter (const BaseClass &base, ReducingFunctions &&redfunc, DepartureFunction &&depfunc)
 
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.
 
template<typename TauType , typename DeltaType , typename MoleFracType >
auto alphar_taudelta (const TauType &tau, const DeltaType &delta, const MoleFracType &molefrac) const
 
template<typename TType , typename RhoType , typename MoleFracType >
auto alphar (const TType &T, const RhoType &rho, const MoleFracType &molefrac) const
 

Public Attributes

const BaseClass & base
 
const ReducingFunctions redfunc
 
const DepartureFunction dep
 

Detailed Description

template<typename DepartureFunction, typename BaseClass>
class teqp::MultiFluidAdapter< DepartureFunction, BaseClass >

This class holds a lightweight reference to the core parts of the model

The reducing and departure functions are moved into this class, while the donor class is used for the corresponding states portion

Definition at line 12 of file multifluid_mutant.hpp.

Constructor & Destructor Documentation

◆ MultiFluidAdapter()

template<typename DepartureFunction , typename BaseClass >
teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::MultiFluidAdapter ( const BaseClass & base,
ReducingFunctions && redfunc,
DepartureFunction && depfunc )
inline

Definition at line 25 of file multifluid_mutant.hpp.

Member Function Documentation

◆ alphar()

template<typename DepartureFunction , typename BaseClass >
template<typename TType , typename RhoType , typename MoleFracType >
auto teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::alphar ( const TType & T,
const RhoType & rho,
const MoleFracType & molefrac ) const
inline

Definition at line 52 of file multifluid_mutant.hpp.

◆ alphar_taudelta()

template<typename DepartureFunction , typename BaseClass >
template<typename TauType , typename DeltaType , typename MoleFracType >
auto teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::alphar_taudelta ( const TauType & tau,
const DeltaType & delta,
const MoleFracType & molefrac ) const
inline

Definition at line 43 of file multifluid_mutant.hpp.

◆ get_BIP()

template<typename DepartureFunction , typename BaseClass >
const std::variant< double, std::string > teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::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 32 of file multifluid_mutant.hpp.

◆ get_meta()

template<typename DepartureFunction , typename BaseClass >
auto teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::get_meta ( ) const
inline

Get the metadata stored in string form.

Definition at line 30 of file multifluid_mutant.hpp.

◆ R()

template<typename DepartureFunction , typename BaseClass >
template<class VecType >
auto teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::R ( const VecType & molefrac) const
inline

Definition at line 23 of file multifluid_mutant.hpp.

◆ set_meta()

template<typename DepartureFunction , typename BaseClass >
void teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::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 28 of file multifluid_mutant.hpp.

Member Data Documentation

◆ base

template<typename DepartureFunction , typename BaseClass >
const BaseClass& teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::base

Definition at line 18 of file multifluid_mutant.hpp.

◆ dep

template<typename DepartureFunction , typename BaseClass >
const DepartureFunction teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::dep

Definition at line 20 of file multifluid_mutant.hpp.

◆ redfunc

template<typename DepartureFunction , typename BaseClass >
const ReducingFunctions teqp::MultiFluidAdapter< DepartureFunction, BaseClass >::redfunc

Definition at line 19 of file multifluid_mutant.hpp.


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