Tape registration methods for aggregated types that contain CoDiPack active types. More...
#include <realTraits.hpp>
Public Types | |
using | Real = typename DataExtraction<Type>::Real |
See DataExtraction::Real. | |
using | Type = T_Type |
See TapeRegistration. | |
Static Public Member Functions | |
static Real | registerExternalFunctionOutput (Type &v) |
Register all active types of a aggregated type as external function outputs. | |
static void | registerInput (Type &v) |
Register all active types of a aggregated type as tape input. | |
static void | registerOutput (Type &v) |
Register all active types of a aggregated type as tape output. | |
Tape registration methods for aggregated types that contain CoDiPack active types.
An aggregated type is for example std::complex<codi::RealReverse>, which contains two CoDiPack values. The methods in this class access each of these values in order to register the active types. For registerInput
, the real and imaginary part of the complex type are registered.
T_Type | Any type that contains a CoDiPack type. |