37#include "../../config.h"
38#include "../../misc/macros.hpp"
39#include "../data/position.hpp"
40#include "../misc/tapeParameters.hpp"
41#include "forwardEvaluationTapeInterface.hpp"
42#include "manualStatementPushTapeInterface.hpp"
43#include "positionalEvaluationTapeInterface.hpp"
65 template<
typename T_Real,
typename T_Gradient,
typename T_Identifier,
typename T_Position>
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition: macros.hpp:94
CoDiPack - Code Differentiation Package.
Definition: codi.hpp:90
AdjointsManagement
Policies for management of the tape's interal adjoints.
Definition: tapeParameters.hpp:98
@ Automatic
Manage internal adjoints automatically, including locking, bounds checking, and resizing.
Empty Position with no nested data.
Definition: position.hpp:47
Forward AD evaluation of a recorded tape.
Definition: forwardEvaluationTapeInterface.hpp:57
Add derivative information for custom operations to the tape.
Definition: manualStatementPushTapeInterface.hpp:73
Reverse AD evaluation for parts of a recorded tape.
Definition: positionalEvaluationTapeInterface.hpp:59
Perform tape evaluations but ensure that the state prior to evaluation equals the state after evaluat...
Definition: preaccumulationEvaluationTapeInterface.hpp:69
void evaluateKeepState(Position const &start, Position const &end, AdjointsManagement adjointsManagement=AdjointsManagement::Automatic)
Perform a tape evaluation but restore the state afterwards such that it is the same as when the evalu...
T_Identifier Identifier
See PreaccumulationEvaluationTapeInterface.
Definition: preaccumulationEvaluationTapeInterface.hpp:74
void evaluateForwardKeepState(Position const &start, Position const &end, AdjointsManagement adjointsManagement=AdjointsManagement::Automatic)
Perform a tape evaluation but restore the state afterwards such that it is the same as when the evalu...
T_Gradient Gradient
See PreaccumulationEvaluationTapeInterface.
Definition: preaccumulationEvaluationTapeInterface.hpp:73
T_Position Position
See PreaccumulationEvaluationTapeInterface.
Definition: preaccumulationEvaluationTapeInterface.hpp:75
T_Real Real
See PreaccumulationEvaluationTapeInterface.
Definition: preaccumulationEvaluationTapeInterface.hpp:72