CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::JacobianStatementGenerator< T_size > Struct Template Reference

#include <primalValueBaseTape.hpp>

Static Public Member Functions

Implementation of StatementEvaluatorTapeInterface
template<typename Expr , typename... Args>
static Real statementEvaluateForward (Args &&... args)
 Throws exception.
 
template<typename Expr , typename... Args>
static Real statementEvaluatePrimal (Args &&... args)
 Throws exception.
 
template<typename Expr >
static void statementEvaluateReverse (Real *primalVector, Gradient *adjointVector, Gradient lhsAdjoint, Config::ArgumentSize numberOfPassiveArguments, size_t &curConstantPos, PassiveReal const *const constantValues, size_t &curPassivePos, Real const *const passiveValues, size_t &curRhsIdentifiersPos, Identifier const *const rhsIdentifiers)
 Evaluate expression in a reverse mode.
 
Implementation of StatementEvaluatorInnerTapeInterface
template<typename Expr , typename... Args>
static Real statementEvaluateForwardInner (Args &&... args)
 Throws exception.
 
template<typename Expr , typename... Args>
static Real statementEvaluatePrimalInner (Args &&... args)
 Throws exception.
 
template<typename Expr >
static void statementEvaluateReverseInner (Real *primalVector, Gradient *adjointVector, Gradient lhsAdjoint, size_t &curConstantPos, PassiveReal const *const constantValues, size_t &curRhsIdentifiersPos, Identifier const *const rhsIdentifiers)
 Evaluate expression in a reverse mode.
 

Static Public Attributes

static size_t constexpr size = T_size
 See JacobianStatementGenerator.
 

Detailed Description

template<typename T_TapeTypes, typename T_Impl>
template<size_t T_size>
struct codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::JacobianStatementGenerator< T_size >

Implements StatementEvaluatorTapeInterface and StatementEvaluatorInnerTapeInterface

Template Parameters
T_sizeNumber of arguments.

Member Function Documentation

◆ statementEvaluateReverse()

template<typename T_TapeTypes , typename T_Impl >
template<size_t T_size>
template<typename Expr >
static void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::JacobianStatementGenerator< T_size >::statementEvaluateReverse ( Real * primalVector,
Gradient * adjointVector,
Gradient lhsAdjoint,
Config::ArgumentSize numberOfPassiveArguments,
size_t & curConstantPos,
PassiveReal const *const constantValues,
size_t & curPassivePos,
Real const *const passiveValues,
size_t & curRhsIdentifiersPos,
Identifier const *const rhsIdentifiers )
inlinestatic

Evaluate expression in a reverse mode.

◆ statementEvaluateReverseInner()

template<typename T_TapeTypes , typename T_Impl >
template<size_t T_size>
template<typename Expr >
static void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::JacobianStatementGenerator< T_size >::statementEvaluateReverseInner ( Real * primalVector,
Gradient * adjointVector,
Gradient lhsAdjoint,
size_t & curConstantPos,
PassiveReal const *const constantValues,
size_t & curRhsIdentifiersPos,
Identifier const *const rhsIdentifiers )
inlinestatic

Evaluate expression in a reverse mode.


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