CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ReverseStatementEvaluator Struct Reference

Only stores the function handle for the reverse evaluation. More...

#include <reverseStatementEvaluator.hpp>

Inheritance diagram for codi::ReverseStatementEvaluator:

StatementEvaluatorInterface implementation

using Handle = void*
 Function pointer to the reverse evaluation.
 
template<StatementCall type, typename Tape, typename... Args>
static void call (Handle const &h, Args &&... args)
 
template<typename Tape, typename Generator, typename Stmt>
static Handle createHandle ()
 

Additional Inherited Members

using Handle = int
 Type of the handle.
 
template<StatementCall type, typename Tape, typename... Args>
static void call (Handle const &h, Args &&... args)
 
template<typename Tape, typename Generator, typename Expr>
static Handle createHandle ()
 

Detailed Description

Only stores the function handle for the reverse evaluation.

Uses the StatementEvaluatorTapeInterface.

Member Function Documentation

◆ call()

template<StatementCall type, typename Tape, typename... Args>
static void codi::ReverseStatementEvaluator::call ( Handle const & h,
Args &&... args )
inlinestatic

Template Parameters
TapeHas to implement StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface, depending on the interface the implementation uses.

◆ createHandle()

template<typename Tape, typename Generator, typename Stmt>
static Handle codi::ReverseStatementEvaluator::createHandle ( )
inlinestatic

Template Parameters
TapeUsually not required. Access tape specific configurations.
GeneratorHas to implement the StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface. Usually the same as Tape.
ExprInstance of ExpressionInterface.

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