CoDiPack  3.0.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.
 

Public Member Functions

inlinestatic Real registerExternalFunctionOutput (Type &v)
 Register all active types of an aggregated type as external function outputs.
 
inlinestatic void registerInput (Type &v)
 Register all active types of an aggregated type as tape inputs.
 
inlinestatic void registerOutput (Type &v)
 Register all active types of an aggregated type as tape outputs.
 

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 take each of these values into account. For registerInput, for example, both 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: