42#include "../data/position.hpp"
43#include "../misc/lowLevelFunctionEntry.hpp"
54 template<
typename T_Real,
typename T_Identifier>
68 size_t& linearAdjointPosition,
char* stmtData);
81 template<
typename T_Position>
90 template<
typename Callbacks>
94 template<
typename Callbacks>
98 template<
typename Callbacks>
102 template<
typename Callbacks>
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:97
uint8_t ArgumentSize
Type for the number of arguments in statements.
Definition config.h:117
CoDiPack - Code Differentiation Package.
Definition codi.hpp:97
Definition byteDataView.hpp:51
interface for callbacks from an custom tape iteration. See CustomIteratorTapeInterface for details.
Definition customIteratorTapeInterface.hpp:55
void handleStatement(Identifier &lhsIndex, Config::ArgumentSize const &size, Real const *jacobians, Identifier const *rhsIdentifiers)
Called for each statement in a Jacobian tape.
T_Identifier Identifier
See ReadWriteTapeInterface.
Definition customIteratorTapeInterface.hpp:58
void handleStatement(EvalHandle const &evalHandle, Config::ArgumentSize const &nPassiveValues, size_t &linearAdjointPosition, char *stmtData)
Called for each statement in a primal value tape.
void * EvalHandle
See PrimalValueTapeTypes.
Definition customIteratorTapeInterface.hpp:61
T_Real Real
See ReadWriteTapeInterface.
Definition customIteratorTapeInterface.hpp:57
void Tape
Any CoDiPack tape implementation.
Definition customIteratorTapeInterface.hpp:60
void handleLowLevelFunction(LowLevelFunctionEntry< Tape, Real, Identifier > const &func, ByteDataView &llfData)
Called for each low level function.
Iterate over the statement and low level function entries in a tape.
Definition customIteratorTapeInterface.hpp:82
T_Position Position
See CustomIteratorTapeInterface.
Definition customIteratorTapeInterface.hpp:84
void iterateForward(Callbacks &&callbacks, Position const &start, Position const &end)
Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface...
void iterateReverse(Callbacks &&callbacks, Position const &start, Position const &end)
Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface...
void iterateForward(Callbacks &&callbacks)
Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface...
void iterateReverse(Callbacks &&callbacks)
Iterate over the tape in a generalized fashion. callbacks needs to implement codi::CallbacksInterface...
Empty Position with no nested data.
Definition position.hpp:47
Low level function entry on the tape. See LowLevelFunctionTapeInterface for details.
Definition lowLevelFunctionEntry.hpp:69