Replacement type of LhsExpressionInterface types in ConstructStaticContext. More...
#include <staticContextActiveType.hpp>
Public Types | |
using | Base = ExpressionInterface<Real, StaticContextActiveType> |
Base class abbreviation. | |
using | Identifier = typename Tape::Identifier |
See TapeTypesInterface. | |
using | Real = typename Tape::Real |
See TapeTypesInterface. | |
using | Tape |
See StaticContextActiveType. | |
![]() | |
using | ADLogic |
AD logic that governs the expression. Needs to be the same for all inputs of the expression. | |
using | Impl |
See ExpressionInterface. | |
using | Real |
See ExpressionInterface. | |
using | StoreAs |
Defines how this expression is stored in an expression tree. | |
![]() | |
using | Impl |
See NodeInterface. | |
![]() | |
using | Impl |
See ExpressionMemberOperations. | |
using | Real |
See ExpressionMemberOperations. | |
Public Member Functions | |
inlineStaticContextActiveType () | |
Empty constructor for delayed construction that is overwritten with placement new operators. | |
inlineStaticContextActiveType (Real const &primal, Identifier const &identifier) | |
Constructor. | |
inlineStaticContextActiveType (StaticContextActiveType const &other) | |
Copy constructor. | |
Partial implementation of LhsExpressionInterface | |
inlineIdentifier const & | getIdentifier () const |
![]() | |
inlineImpl const & | cast () const |
Cast to the implementation. | |
ExpressionInterface ()=default | |
Constructor. | |
ExpressionInterface (ExpressionInterface const &)=default | |
Constructor. | |
inlineReal const | getValue () const |
Compute the primal value that is usually evaluated by the statement/expression. | |
inlineauto | applyTangent (Tangent const &tangent) const |
inlineauto | applyAdjoint (Adjoint const &adjoint) const |
![]() | |
inlineImpl const & | cast () const |
Cast to the implementation. | |
char const & | getLink () const |
an expression. | |
Static Public Attributes | |
Implementation of NodeInterface | |
static size_t constexpr | LinkCount = 0 |
handle the expression as a leaf node. | |
static size_t constexpr | LinkCount |
handle the expression as a leaf node. | |
Implementation of ExpressionInterface | |
using | StoreAs = StaticContextActiveType |
Defines how this expression is stored in an expression tree. | |
using | ADLogic = Tape |
AD logic that governs the expression. Needs to be the same for all inputs of the expression. | |
inlineReal const | getValue () const |
Compute the primal value that is usually evaluated by the statement/expression. | |
Additional Inherited Members | |
![]() | |
inlineImpl const & | cast () const |
Cast to implementation. | |
Replacement type of LhsExpressionInterface types in ConstructStaticContext.
See ConstructStaticContext for detailed information. See Expression design documentation for details about the expression system in CoDiPack.
T_Tape | The tape that create the original expression. |
using codi::StaticContextActiveType< T_Tape >::ADLogic = Tape |
AD logic that governs the expression. Needs to be the same for all inputs of the expression.
using codi::StaticContextActiveType< T_Tape >::StoreAs = StaticContextActiveType |
Defines how this expression is stored in an expression tree.
using codi::StaticContextActiveType< T_Tape >::Tape |
|
inline |
Get a constant reference to the identifier of the tape for this expression. See also Direct data access (Identifier management)
|
inline |
Compute the primal value that is usually evaluated by the statement/expression.
|
staticconstexpr |
handle the expression as a leaf node.
Number of links the expression has. Zero will