37#include "activeTypeBase.hpp"
51 template<
typename T_Tape>
87 static_cast<Base&
>(*this) =
static_cast<Base const&
>(v);
91 using Base::operator=;
107 template<
typename Tape>
108 CODI_DD(Tape, CODI_DEFAULT_TAPE) ActiveType<Tape>::tape{};
112 template<
typename T_Real,
typename T_Tape>
#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
#define CODI_ANY
Used in default declarations of expression templates.
Definition macros.hpp:100
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
AD logic that governs the expression. Needs to be the same for all inputs of the expression.
Definition activeTypeBase.hpp:148
Impl const & StoreAs
Defines how this expression is stored in an expression tree.
Definition activeTypeBase.hpp:147
RealTraits::PassiveReal< Real > PassiveReal
Basic computation type.
Definition activeTypeBase.hpp:77
typename Tape::Identifier Identifier
See LhsExpressionInterface.
Definition activeTypeBase.hpp:78
typename Tape::Gradient Gradient
See LhsExpressionInterface.
Definition activeTypeBase.hpp:79
LhsExpressionInterface< Real, Gradient, T_Tape, ActiveType > Base
Definition activeTypeBase.hpp:81
typename Tape::Real Real
See LhsExpressionInterface.
Definition activeTypeBase.hpp:76
Represents a concrete lvalue in the CoDiPack expression tree.
Definition activeType.hpp:52
static inlineTape & getTape()
Definition activeType.hpp:99
inline ~ActiveType()
Definition activeType.hpp:79
ForwardEvaluation< Real, Gradient > Tape
Definition activeType.hpp:55
ActiveTypeBase< ForwardEvaluation< Real, Gradient >, ActiveType > Base
Definition activeType.hpp:57
inlineActiveType & operator=(ActiveType const &v)
Definition activeType.hpp:86
ActiveType< Tape > ActiveResult
The resulting active type of an expression.
Definition activeType.hpp:120
T_Tape Tape
See ExpressionTraits::ActiveResultImpl.
Definition activeType.hpp:117
T_Real Real
See ExpressionTraits::ActiveResultImpl.
Definition activeType.hpp:116
Definition expressionTraits.hpp:127