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) {}
106 template<
size_t argNumber>
119 template<
typename Logic,
typename... Args>
125 template<
typename Logic,
typename... Args>
127 return Logic::NeutralElement;
#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_UNUSED_ARG(arg)
Used in a constexpr context, where using CODI_UNUSED spoils the constexpr.
Definition macros.hpp:49
#define CODI_T(...)
Abbreviation for CODI_TEMPLATE.
Definition macros.hpp:111
CoDiPack - Code Differentiation Package.
Definition codi.hpp:90
void CODI_UNUSED(Args const &...)
Disable unused warnings for an arbitrary number of arguments.
Definition macros.hpp:46
Base class for all CoDiPack expressions.
Definition expressionInterface.hpp:59
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
Identifier const & getIdentifier() const
Definition staticContextActiveType.hpp:88
StaticContextActiveType(Real const &primal, Identifier const &identifier)
Constructor.
Definition staticContextActiveType.hpp:76
static bool constexpr EndPoint
If this expression is handled as a leaf in the tree.
Definition staticContextActiveType.hpp:116
typename Tape::Identifier Identifier
See TapeTypesInterface.
Definition staticContextActiveType.hpp:64
void forEachLink(TraversalLogic< Logic > &logic, Args &&... args) const
Definition staticContextActiveType.hpp:120
typename Tape::Real Real
See TapeTypesInterface.
Definition staticContextActiveType.hpp:63
T_Tape Tape
See StaticContextActiveType.
Definition staticContextActiveType.hpp:59
static Logic::ResultType constexpr forEachLinkConstExpr(Args &&...)
Definition staticContextActiveType.hpp:126
StaticContextActiveType(StaticContextActiveType const &other)
Constructor.
Definition staticContextActiveType.hpp:80
Real const getValue() const
Compute the primal value that is usually evaluated by the statement/expression.
Definition staticContextActiveType.hpp:101
Real getJacobian() const
Definition staticContextActiveType.hpp:107
Traversal of CoDiPack expressions.
Definition traversalLogic.hpp:56