42 template<
typename Gradient,
typename Identifier,
typename Tape,
typename ParallelToolbox>
43 struct ThreadSafeGlobalAdjoints;
46 namespace InternalAdjointVectorTraits {
49 template<
typename InternalAdjo
intType>
52#ifndef DOXYGEN_DISABLE
53 template<
typename Gradient,
typename Identifier,
typename Tape,
typename ParallelToolbox>
60 namespace AdjointVectorTraits {
67 template<
typename Adjo
intVector>
70 using Gradient =
typename AdjointVector::value_type;
73#ifndef DOXYGEN_DISABLE
75 template<
typename Adjo
intVector>
79 template<
typename T_Gradient>
80 struct GradientImplementation<T_Gradient*> {
82 using Gradient = T_Gradient;
91 template<
typename Adjo
intVector>
typename GradientImplementation< AdjointVector >::Gradient Gradient
Deduce the entry type from an adjoint vector type, usually identical to the gradient type of a tape.
Definition adjointVectorTraits.hpp:92
CoDiPack - Code Differentiation Package.
Definition codi.hpp:91
Trait implementation to deduce the entry type from an adjoint vector type.
Definition adjointVectorTraits.hpp:68
typename AdjointVector::value_type Gradient
Type of adjoint vector entries.
Definition adjointVectorTraits.hpp:70
Whether the adjoint vector is global, that is, shared among different tapes.
Definition adjointVectorTraits.hpp:50
Provides global adjoint variables owned by a tape type. Thread-safe for use in parallel taping.
Definition threadSafeGlobalAdjoints.hpp:53