39#include "../tapes/interfaces/fullTapeInterface.hpp"
40#include "../traits/realTraits.hpp"
41#include "activeType.hpp"
42#include "assignmentOperators.hpp"
43#include "incrementOperators.hpp"
44#include "lhsExpressionInterface.hpp"
59 template<
typename T_ActiveType>
62 typename T_ActiveType::Tape, ActiveTypeWrapper<T_ActiveType>>,
64 public IncrementOperators<typename T_ActiveType::Tape, ActiveTypeWrapper<T_ActiveType>> {
71 using Real =
typename Tape::Real;
#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
#define CODI_T(...)
Abbreviation for CODI_TEMPLATE.
Definition macros.hpp:111
typename TraitsImplementation< Type >::PassiveReal PassiveReal
The original computation type, that was used in the application.
Definition realTraits.hpp:117
CoDiPack - Code Differentiation Package.
Definition codi.hpp:90
Creates a pseudo active type from data references. Can be used to overlay existing data with active t...
Definition activeTypeWrapper.hpp:64
typename ActiveType::ActiveResult ActiveResult
Type into which the expression can be converted. Usually also the type from which it is constructed.
Definition activeTypeWrapper.hpp:115
typename Tape::Real Real
See LhsExpressionInterface.
Definition activeTypeWrapper.hpp:71
RealTraits::PassiveReal< Real > PassiveReal
Basic computation type.
Definition activeTypeWrapper.hpp:72
typename ActiveType::Tape Tape
See ActiveType.
Definition activeTypeWrapper.hpp:69
typename Tape::Identifier Identifier
See LhsExpressionInterface.
Definition activeTypeWrapper.hpp:73
ActiveTypeWrapper const & StoreAs
Defines how this expression is stored in an expression tree.
Definition activeTypeWrapper.hpp:114
ActiveTypeWrapper< ActiveType > & operator=(ActiveTypeWrapper< ActiveType > const &v)
See LhsExpressionInterface::operator=(ExpressionInterface const&)
Definition activeTypeWrapper.hpp:104
Identifier const & getIdentifier() const
Definition activeTypeWrapper.hpp:128
Real const & value() const
Get a constant reference to the lvalue represented by the expression.
Definition activeTypeWrapper.hpp:138
~ActiveTypeWrapper()
Definition activeTypeWrapper.hpp:99
Real & value()
Get a reference to the lvalue represented by the expression.
Definition activeTypeWrapper.hpp:133
ActiveTypeWrapper(Real &value, Identifier &identifier)
Definition activeTypeWrapper.hpp:87
ActiveTypeWrapper(ActiveType &value)
Definition activeTypeWrapper.hpp:93
static Tape & getTape()
Get a reference to the tape which manages this expression.
Definition activeTypeWrapper.hpp:143
typename Tape::Gradient Gradient
See LhsExpressionInterface.
Definition activeTypeWrapper.hpp:74
T_ActiveType ActiveType
See WritableActiveTypeWrapper.
Definition activeTypeWrapper.hpp:67
Identifier & getIdentifier()
Definition activeTypeWrapper.hpp:123
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
Impl ActiveResult
Type into which the expression can be converted. Usually also the type from which it is constructed.
Definition activeTypeBase.hpp:148
Implementation of assignment operators for LhsExpressionInterface implementations.
Definition assignmentOperators.hpp:54
Implementation of increment operators for LhsExpressionInterface implementations.
Definition incrementOperators.hpp:54
Base class for all CoDiPack lvalue expression.
Definition lhsExpressionInterface.hpp:63