38#include "../tapes/interfaces/editingTapeInterface.hpp"
39#include "../tools/parallel/parallelToolbox.hpp"
40#include "activeTypeBase.hpp"
53 template<
typename T_Tape,
typename T_ParallelToolbox>
74 typename ParallelToolbox::template StaticThreadLocalPointer<Tape, ParallelActiveType>;
96 static_cast<Base&
>(*this) =
static_cast<Base const&
>(v);
100 using Base::operator=;
109 return *(tape.get());
130 template<
typename Tape,
typename ParallelToolbox>
132 ParallelActiveType<Tape, ParallelToolbox>::tape;
136 using CODI_DEFAULT_PARALLEL_ACTIVE_TYPE =
137 ParallelActiveType<CODI_DEFAULT_PARALLEL_TAPE, CODI_DEFAULT_PARALLEL_TOOLBOX>;
#define CODI_INLINE
See codi::Config::ForcedInlines.
Definition config.h:469
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:96
CoDiPack - Code Differentiation Package.
Definition codi.hpp:94
Represents the base implementation concrete lvalue in the CoDiPack expression tree.
Definition activeTypeBase.hpp:64
Tape ADLogic
Definition activeTypeBase.hpp:148
Impl const & StoreAs
Definition activeTypeBase.hpp:147
RealTraits::PassiveReal< Real > PassiveReal
Definition activeTypeBase.hpp:77
typename Tape::Identifier Identifier
Definition activeTypeBase.hpp:78
typename Tape::Gradient Gradient
Definition activeTypeBase.hpp:79
LhsExpressionInterface< Real, Gradient, Tape, ParallelActiveType > Base
Definition activeTypeBase.hpp:81
typename Tape::Real Real
Definition activeTypeBase.hpp:76
Represents a concrete lvalue in the CoDiPack expression tree.
Definition parallelActiveType.hpp:54
inline ~ParallelActiveType()
Definition parallelActiveType.hpp:88
static inlineTape * getTapePtr()
Definition parallelActiveType.hpp:118
static inlinevoid setTapePtr(Tape *other)
Definition parallelActiveType.hpp:123
typename ParallelToolbox::template StaticThreadLocalPointer< Tape, ParallelActiveType > ThreadLocalTapePointer
< See ActiveTypeBase.
Definition parallelActiveType.hpp:73
T_ParallelToolbox ParallelToolbox
See ParallelActiveType.
Definition parallelActiveType.hpp:60
ActiveTypeBase< Tape, ParallelActiveType > Base
Base class abbreviation.
Definition parallelActiveType.hpp:62
T_Tape Tape
See ParallelActiveType.
Definition parallelActiveType.hpp:58
static inlineTape & getTape()
Definition parallelActiveType.hpp:108
inlineParallelActiveType & operator=(ParallelActiveType const &v)
Definition parallelActiveType.hpp:95