CoDiPack  3.1.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::CustomIteratorTapeInterface< T_Position > Struct Template Reference

Iterate over the statement and low level function entries in a tape. More...

#include <customIteratorTapeInterface.hpp>

Inheritance diagram for codi::CustomIteratorTapeInterface< T_Position >:

Public Types

using Position = T_Position
 See CustomIteratorTapeInterface.
 

Public Member Functions

Tape iteration and editing
template<typename Callbacks>
void iterateForward (Callbacks &&callbacks, Position const &start, Position const &end)
 Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface.
 
template<typename Callbacks>
void iterateForward (Callbacks &&callbacks)
 Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface.
 
template<typename Callbacks>
void iterateReverse (Callbacks &&callbacks, Position const &start, Position const &end)
 Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface.
 
template<typename Callbacks>
void iterateReverse (Callbacks &&callbacks)
 Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface.
 

Detailed Description

template<typename T_Position>
struct codi::CustomIteratorTapeInterface< T_Position >

Iterate over the statement and low level function entries in a tape.

Access to adjoint, primal and other tape data needs to be captured in the callbacks object. The callback object needs to implement the CallbacksInterface.

Template Parameters
T_PositionGlobal tape position, usually chosen as Tape::Position.

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