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>
#define CODI_INLINE
See codi::Config::ForcedInlines.
Definition config.h:457
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:94
CoDiPack - Code Differentiation Package.
Definition codi.hpp:90
Represents the base implementation concrete lvalue in the CoDiPack expression tree.
Definition activeTypeBase.hpp:64
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
Impl ActiveResult
Type into which the expression can be converted. Usually also the type from which it is constructed.
Definition activeTypeBase.hpp:148
typename Tape::Gradient Gradient
See LhsExpressionInterface.
Definition activeTypeBase.hpp:79
LhsExpressionInterface< Real, Gradient, T_Tape, T_Impl > Base
Base class abbreviation.
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
ActiveType(ActiveType< Tape > const &v)
Constructor.
Definition activeType.hpp:74
ActiveType & operator=(ActiveType const &v)
See ActiveTypeBase::operator=(ActiveTypeBase const&).
Definition activeType.hpp:86
T_Tape Tape
See ActiveType.
Definition activeType.hpp:55
static Tape & getTape()
Get a reference to the tape which manages this expression.
Definition activeType.hpp:99
~ActiveType()
Destructor.
Definition activeType.hpp:79