CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::StatementEvaluatorInnerTapeInterface< T_Real > Struct Template Reference

Tape side interface for StatementEvaluatorInterface. More...

#include <statementEvaluatorTapeInterface.hpp>

Inheritance diagram for codi::StatementEvaluatorInnerTapeInterface< T_Real >:

Public Types

using Real = T_Real
 See StatementEvaluatorInnerTapeInterface.
 

Static Public Member Functions

Interface definition
template<typename Func , typename... Args>
static Real statementEvaluateForwardFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args)
 Load the expression data and evaluate the expression in a forward mode.
 
template<typename Func , typename... Args>
static Real statementEvaluatePrimalFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args)
 Load the expression data and evaluate the expression in a primal setting.
 
template<typename Func , typename... Args>
static void statementEvaluateReverseFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args)
 Load the expression data and evaluate the expression in a reverse mode.
 
template<typename Expr , typename... Args>
static Real statementEvaluateForwardInner (Args &&... args)
 Evaluate expression in a forward mode.
 
template<typename Expr , typename... Args>
static Real statementEvaluatePrimalInner (Args &&... args)
 Evaluate expression in a primal setting.
 
template<typename Expr , typename... Args>
static void statementEvaluateReverseInner (Args &&... args)
 Evaluate expression in a reverse mode.
 

Detailed Description

template<typename T_Real>
struct codi::StatementEvaluatorInnerTapeInterface< T_Real >

Tape side interface for StatementEvaluatorInterface.

See StatementEvaluatorInterface for a full description.

The statementEvaluate*Inner methods needs to be stored by the StatementEvaluatorInterface. These methods perform the Call expression specific function logic.

The statementEvaluate*Full functions are called by the StatementEvaluatorInterface on a call* function call. This performs the step Load expression specific data in an inline context. inner is the stored function pointer in the handle.

Template Parameters
T_RealThe computation type of a tape usually defined by ActiveType::Real.

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