Base class for statement call generators. Prepares the static construction context. More...
#include <primalValueBaseTape.hpp>

Public Types | |
| using | AggregateTraits = RealTraits::AggregatedTypeTraits<LhsReal> |
| Traits for aggregated type. | |
| using | Constructor = ConstructStaticContextLogic<Rhs, Impl, 0, 0> |
| Static construction context. | |
| template<size_t pos> | |
| using | ExtractExpr |
| Extract expressions for aggregated types. | |
| using | Lhs = typename Stmt::Lhs |
| See AssignStatement. | |
| using | LhsReal = typename Lhs::Real |
| Primal value of lhs. | |
| using | Rhs = typename Stmt::Rhs |
| See AssignStatement. | |
| using | StaticRhs = typename Constructor::ResultType |
| Static right hand side. | |
Public Member Functions | |
| inlinestatic StaticRhs | constructStaticRhs (Real *primalVector, PassiveReal const *const constantValues, Identifier const *const identifiers) |
| Construct the statement in the static context. | |
| template<typename... Args> | |
| inlinestatic void | internalEvaluate (Args &&... args) |
| Evaluate the full expression. | |
Base class for statement call generators. Prepares the static construction context.
| using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::ExtractExpr |
Extract expressions for aggregated types.
| using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::Lhs = typename Stmt::Lhs |
See AssignStatement.
| using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::Rhs = typename Stmt::Rhs |
See AssignStatement.
|
inline |
Evaluate the full expression.