Static context implementation of the aggregated active type. More...
#include <staticContextAggregatedActiveType.hpp>
Public Types | |
using | Base |
using | InnerActiveType |
See StaticAggregatedActiveType. | |
using | InnerIdentifier = typename InnerActiveType::Identifier |
Inner real type of the active type. | |
using | InnerReal = typename InnerActiveType::Real |
Inner real type of the active type. | |
using | Real = T_Real |
See StaticAggregatedActiveType. | |
![]() | |
using | ADLogic |
AD logic that governs the expression. Needs to be the same for all inputs of the expression. | |
using | Impl |
See AggregatedActiveTypeBase. | |
using | InnerActiveType |
See AggregatedActiveTypeBase. | |
using | InnerIdentifier |
Identifier of the underlying tape. | |
using | InnerReal |
Inner real type of the active type. | |
using | Real |
See AggregatedActiveTypeBase. | |
using | StoreAs |
Implementation of ExpressionInterface. | |
using | Tape |
The tape of the inner active type. | |
using | Traits |
The traits for the aggregated type. | |
![]() | |
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 | |
inlineStaticAggregatedActiveType () | |
Constructor. | |
inlineStaticAggregatedActiveType (StaticAggregatedActiveType const &)=default | |
Constructor. | |
![]() | |
inlineInnerReal | applyAdjoint (Real const &adjoint) const |
inlineReal | applyTangent (InnerReal const &tangent) const |
inlineInnerActiveType const & | getLink () const |
an expression. | |
inlineReal const | getValue () const |
Compute the primal value that is usually evaluated by the statement/expression. | |
inlineAggregatedActiveTypeBase ()=default | |
Constructor. | |
inlineAggregatedActiveTypeBase (AggregatedActiveTypeBase const &)=default | |
Constructor. | |
inline | ~AggregatedActiveTypeBase ()=default |
Destructor. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
static inlinestd::string | getMathRep () |
Get the math symbol of the operation. E.g. + for operators and pow() for functions. | |
![]() | |
InnerActiveType | values [Elements] |
Array representation. | |
![]() | |
static int constexpr | Elements |
The number of elements in the aggregated type. | |
static bool constexpr | isStatic |
See AggregatedActiveTypeBase. | |
static size_t constexpr | LinkCount |
Implementation of NodeInterface. | |
static size_t constexpr | LinkCount |
handle the expression as a leaf node. | |
![]() | |
inlineImpl & | cast () |
Cast to implementation. | |
inlineImpl const & | cast () const |
Cast to implementation. | |
![]() | |
inlineImpl const & | cast () const |
Cast to implementation. | |
Static context implementation of the aggregated active type.
See codi::AggregatedActiveType for details.
T_Real | Real value of the aggregated type. |
T_InnerActiveType | CoDiPack type that composes the aggregated type. |
using codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >::Base |
Abbreviation for base class.
using codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >::InnerActiveType |