CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::RealTraits::TapeRegistration< T_Type, typename > Struct Template Reference

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.
 

Detailed Description

template<typename T_Type, typename = void>
struct codi::RealTraits::TapeRegistration< T_Type, typename >

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.

Template Parameters
T_TypeAny type that contains a CoDiPack type.

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