Low level function entry implementation for external functions. More...
#include <externalFunction.hpp>
Public Types | |
using | ExtFunc = ExternalFunction<Tape> |
using | Identifier = T_Identifier |
See ExternalFunctionLowLevelEntryMapper. | |
using | Real = T_Real |
See ExternalFunctionLowLevelEntryMapper. | |
using | Tape = T_Tape |
See ExternalFunctionLowLevelEntryMapper. | |
using | VectorAccess = VectorAccessInterface<typename Tape::Real, typename Tape::Identifier> |
Shortcut for VectorAccessInterface. | |
Static Public Member Functions | |
static LowLevelFunctionEntry< Tape, Real, Identifier > | create () |
Create the function entry for the tape registration. | |
static void | del (Tape *tape, ByteDataView &data) |
Recovers the external function data and calls deleteData on it. | |
static void | forward (Tape *tape, ByteDataView &data, VectorAccess *access) |
Recovers the external function data and calls evaluateForward on it. | |
static void | primal (Tape *tape, ByteDataView &data, VectorAccess *access) |
Recovers the external function data and calls evaluatePrimal on it. | |
static void | reverse (Tape *tape, ByteDataView &data, VectorAccess *access) |
Recovers the external function data and calls evaluateReverse on it. | |
static void | store (Tape &tape, Config::LowLevelFunctionToken token, ExtFunc const &extFunc) |
Store an external function on the tape. | |
Low level function entry implementation for external functions.
Stores the ExternalFunction object in the byte data stream.
T_Tape | The associated tape type. |
T_Gradient | The gradient type of a tape, usually chosen as ActiveType::Gradient. |
T_Identifier | The adjoint/tangent identification of a tape, usually chosen as ActiveType::Identifier. |
using codi::ExternalFunctionLowLevelEntryMapper< T_Tape, T_Real, T_Identifier >::ExtFunc = ExternalFunction<Tape> |
Abbreviation for ExternalFunction.