38#include "../tapes/interfaces/editingTapeInterface.hpp"
39#include "../tools/parallel/parallelToolbox.hpp"
40#include "activeTypeBase.hpp"
53 template<
typename T_Tape,
typename T_ParallelToolbox>
75 typename ParallelToolbox::template StaticThreadLocalPointer<Tape, ParallelActiveType>;
97 static_cast<Base&
>(*this) =
static_cast<Base const&
>(v);
101 using Base::operator=;
110 return *(tape.get());
131 template<
typename Tape,
typename ParallelToolbox>
133 ParallelActiveType<Tape, ParallelToolbox>::tape;
137 using CODI_DEFAULT_PARALLEL_ACTIVE_TYPE =
138 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:97
CoDiPack - Code Differentiation Package.
Definition codi.hpp:97
Represents the base implementation concrete lvalue in the CoDiPack expression tree.
Definition activeTypeBase.hpp:64
Tape ADLogic
Definition activeTypeBase.hpp:149
Impl const & StoreAs
Definition activeTypeBase.hpp:148
RealTraits::PassiveReal< Real > PassiveReal
Definition activeTypeBase.hpp:77
typename Tape::Identifier Identifier
Definition activeTypeBase.hpp:78
typename Tape::ActiveTypeTapeData TapeData
Definition activeTypeBase.hpp:80
typename Tape::Gradient Gradient
Definition activeTypeBase.hpp:79
LhsExpressionInterface< Real, Gradient, Tape, ParallelActiveType > Base
Definition activeTypeBase.hpp:82
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:89
static inlineTape * getTapePtr()
Definition parallelActiveType.hpp:119
static inlinevoid setTapePtr(Tape *other)
Definition parallelActiveType.hpp:124
typename ParallelToolbox::template StaticThreadLocalPointer< Tape, ParallelActiveType > ThreadLocalTapePointer
< See ActiveTypeBase.
Definition parallelActiveType.hpp:74
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:109
inlineParallelActiveType & operator=(ParallelActiveType const &v)
Definition parallelActiveType.hpp:96