CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl > Struct Template Reference

Base class for statement call generators. Prepares the static construction context. More...

#include <primalValueBaseTape.hpp>

Inheritance diagram for codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >:

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.
 

Detailed Description

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt, typename GenImpl>
struct codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >

Base class for statement call generators. Prepares the static construction context.

Member Typedef Documentation

◆ ExtractExpr

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt, typename GenImpl>
template<size_t pos>
using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::ExtractExpr
Initial value:
typename ArrayAccessExpressionImpl< Aggregated, element >::template Expression< Arg > ArrayAccessExpression
Expression that performs a[element] in a compile time context.
Definition arrayAccessExpression.hpp:98

Extract expressions for aggregated types.

◆ Lhs

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt, typename GenImpl>
using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::Lhs = typename Stmt::Lhs

◆ Rhs

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt, typename GenImpl>
using codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::Rhs = typename Stmt::Rhs

Member Function Documentation

◆ internalEvaluate()

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt, typename GenImpl>
template<typename... Args>
inlinestatic void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, GenImpl >::internalEvaluate ( Args &&... args)
inline

Evaluate the full expression.


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