CoDiPack  3.1.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::CallbacksInterface< T_Real, T_Identifier > Struct Template Reference

interface for callbacks from an custom tape iteration. See CustomIteratorTapeInterface for details. More...

#include <customIteratorTapeInterface.hpp>

Inheritance diagram for codi::CallbacksInterface< T_Real, T_Identifier >:

Public Types

using EvalHandle = void*
 See PrimalValueTapeTypes.
 
using Identifier = T_Identifier
 See ReadWriteTapeInterface.
 
using Real = T_Real
 See ReadWriteTapeInterface.
 
using Tape = void
 Any CoDiPack tape implementation.
 

Public Member Functions

void handleLowLevelFunction (LowLevelFunctionEntry< Tape, Real, Identifier > const &func, ByteDataView &llfData)
 Called for each low level function.
 
void handleStatement (EvalHandle const &evalHandle, Config::ArgumentSize const &nPassiveValues, size_t &linearAdjointPosition, char *stmtData)
 Called for each statement in a primal value tape.
 
void handleStatement (Identifier &lhsIndex, Config::ArgumentSize const &size, Real const *jacobians, Identifier const *rhsIdentifiers)
 Called for each statement in a Jacobian tape.
 

Detailed Description

template<typename T_Real, typename T_Identifier>
struct codi::CallbacksInterface< T_Real, T_Identifier >

interface for callbacks from an custom tape iteration. See CustomIteratorTapeInterface for details.

Template Parameters
T_RealThe computation type of a tape, usually chosen as ActiveType::Real.
T_IdentifierThe adjoint/tangent identification type of a tape, usually chosen as ActiveType::Identifier.

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