39#include "../tapes/interfaces/internalStatementRecordingTapeInterface.hpp"
40#include "lhsExpressionInterface.hpp"
53 template<
typename T_Tape,
typename T_Impl>
66 return static_cast<Impl&
>(*this);
70 template<
typename Rhs>
76 template<
typename Rhs>
82 template<
typename Rhs>
88 template<
typename Rhs>
95 if (Tape::AllowJacobianOptimization) {
96 cast().value() += rhs;
105 if (Tape::AllowJacobianOptimization) {
106 cast().value() -= rhs;
#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
Implementation of assignment operators for LhsExpressionInterface implementations.
Definition assignmentOperators.hpp:54
Impl & operator*=(ExpressionInterface< Real, Rhs > const &rhs)
Operator *= for expressions.
Definition assignmentOperators.hpp:83
Impl & cast()
Cast to the implementation.
Definition assignmentOperators.hpp:65
T_Impl Impl
See AssignmentOperators.
Definition assignmentOperators.hpp:58
Impl & operator-=(PassiveReal const &rhs)
Operator -= for passive values.
Definition assignmentOperators.hpp:104
typename Tape::Real Real
See InternalStatementRecordingTapeInterface.
Definition assignmentOperators.hpp:61
T_Tape Tape
See AssignmentOperators.
Definition assignmentOperators.hpp:57
Impl & operator*=(PassiveReal const &rhs)
Operator *= for passive values.
Definition assignmentOperators.hpp:114
RealTraits::PassiveReal< Real > PassiveReal
Basic computation type.
Definition assignmentOperators.hpp:62
Impl & operator/=(ExpressionInterface< Real, Rhs > const &rhs)
Operator /= for expressions.
Definition assignmentOperators.hpp:89
Impl & operator+=(PassiveReal const &rhs)
Operator += for passive values.
Definition assignmentOperators.hpp:94
Impl & operator+=(ExpressionInterface< Real, Rhs > const &rhs)
Operator += for expressions.
Definition assignmentOperators.hpp:71
Impl & operator-=(ExpressionInterface< Real, Rhs > const &rhs)
Operator -= for expressions.
Definition assignmentOperators.hpp:77
Impl & operator/=(PassiveReal const &rhs)
Operator /= for passive values.
Definition assignmentOperators.hpp:119
Base class for all CoDiPack expressions.
Definition expressionInterface.hpp:59
Internal tape interface that is used by active types to trigger the storing of an expression.
Definition internalStatementRecordingTapeInterface.hpp:65
Base class for all CoDiPack lvalue expression.
Definition lhsExpressionInterface.hpp:63