teqp 0.22.0
|
A collection type that allows you to sum contributions from multiple EOS terms. More...
#include <deriv_adapter.hpp>
Public Member Functions | |
OwnershipSummer (Funcs &&...f) | |
auto & | get_ref () |
const auto & | get_cref () const |
template<typename MoleFracType > | |
auto | R (const MoleFracType &molefrac) |
The gas constant, obtained from the first model in the tuple. | |
template<typename TType , typename RhoType , typename MoleFracType > | |
auto | alphar (const TType &T, const RhoType &rhomolar, const MoleFracType &molefrac) const |
The generic alphar function, which sums the contributions coming from the individual models passed into the constructor. | |
Public Attributes | |
std::tuple< Funcs... > | contributions |
const std::type_index | index |
A collection type that allows you to sum contributions from multiple EOS terms.
Each term in the summation must support the alphar generic interface that accepts T, rho, molefrac as arguments
The gas constant method is used of the FIRST function in the instance
Definition at line 54 of file deriv_adapter.hpp.
|
inline |
Definition at line 57 of file deriv_adapter.hpp.
|
inline |
The generic alphar function, which sums the contributions coming from the individual models passed into the constructor.
Definition at line 71 of file deriv_adapter.hpp.
|
inline |
Definition at line 60 of file deriv_adapter.hpp.
|
inline |
Definition at line 59 of file deriv_adapter.hpp.
|
inline |
The gas constant, obtained from the first model in the tuple.
Definition at line 65 of file deriv_adapter.hpp.
std::tuple<Funcs...> teqp::cppinterface::adapter::OwnershipSummer< Funcs >::contributions |
Definition at line 56 of file deriv_adapter.hpp.
const std::type_index teqp::cppinterface::adapter::OwnershipSummer< Funcs >::index |
Definition at line 61 of file deriv_adapter.hpp.