39#include "../../tapes/interfaces/gradientAccessTapeInterface.hpp"
40#include "../../tapes/interfaces/internalStatementRecordingTapeInterface.hpp"
41#include "../../traits/realTraits.hpp"
42#include "../expressionInterface.hpp"
55 template<
typename T_Tape>
77 : primal(primal), identifier(identifier) {}
81 :
Base(static_cast<
Base const&>(other)), primal(other.primal), identifier(other.identifier) {}
122 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
#define CODI_T(...)
Abbreviation for CODI_TEMPLATE.
Definition macros.hpp:116
CoDiPack - Code Differentiation Package.
Definition codi.hpp:94
ExpressionInterface()=default
T_Real Real
See ExpressionTraits::ActiveResultImpl.
Definition staticContextActiveType.hpp:126
T_Tape Tape
See ExpressionTraits::ActiveResultImpl.
Definition staticContextActiveType.hpp:127
StaticContextActiveType< Tape > ActiveResult
The resulting active type of an expression.
Definition staticContextActiveType.hpp:130
Definition expressionTraits.hpp:127
Allow for a direct access to the gradient information computed by the tape.
Definition gradientAccessTapeInterface.hpp:67
Internal tape interface that is used by active types to trigger the storing of an expression.
Definition internalStatementRecordingTapeInterface.hpp:65
Replacement type of LhsExpressionInterface types in ConstructStaticContext.
Definition staticContextActiveType.hpp:56
typename Tape::Identifier Identifier
See TapeTypesInterface.
Definition staticContextActiveType.hpp:64
typename Tape::Real Real
See TapeTypesInterface.
Definition staticContextActiveType.hpp:63
static size_t constexpr LinkCount
Definition staticContextActiveType.hpp:113
T_Tape Tape
See StaticContextActiveType.
Definition staticContextActiveType.hpp:59
StaticContextActiveType StoreAs
Defines how this expression is stored in an expression tree.
Definition staticContextActiveType.hpp:100
inlineIdentifier const & getIdentifier() const
Definition staticContextActiveType.hpp:91
ExpressionInterface< Real, StaticContextActiveType > Base
Base class abbreviation.
Definition staticContextActiveType.hpp:66
Tape ADLogic
AD logic that governs the expression. Needs to be the same for all inputs of the expression.
Definition staticContextActiveType.hpp:101
inlineReal const getValue() const
Compute the primal value that is usually evaluated by the statement/expression.
Definition staticContextActiveType.hpp:104