CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType > Struct Template Reference

Static context implementation of the aggregated active type. More...

#include <staticContextAggregatedActiveType.hpp>

Inheritance diagram for codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >:

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.
 
- Public Types inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
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.
 
- Public Types inherited from codi::ExpressionInterface< T_Real, StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
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.
 
- Public Types inherited from codi::NodeInterface< StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
using Impl
 See NodeInterface.
 
- Public Types inherited from codi::ExpressionMemberOperations< T_Real, StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
using Impl
 See ExpressionMemberOperations.
 
using Real
 See ExpressionMemberOperations.
 

Public Member Functions

 inlineStaticAggregatedActiveType ()
 Constructor.
 
 inlineStaticAggregatedActiveType (StaticAggregatedActiveType const &)=default
 Constructor.
 
- Public Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
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.
 
- Public Member Functions inherited from codi::ExpressionInterface< T_Real, StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
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
 
- Public Member Functions inherited from codi::NodeInterface< StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
inlineImpl const & cast () const
 Cast to the implementation.
 
char const & getLink () const
 an expression.
 

Additional Inherited Members

- Static Public Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
static inlinestd::string getMathRep ()
 Get the math symbol of the operation. E.g. + for operators and pow() for functions.
 
- Public Attributes inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
InnerActiveType values [Elements]
 Array representation.
 
- Static Public Attributes inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
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.
 
- Protected Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, StaticAggregatedActiveType< T_Real, T_InnerActiveType >, true >
inlineImpl & cast ()
 Cast to implementation.
 
inlineImpl const & cast () const
 Cast to implementation.
 
- Protected Member Functions inherited from codi::ExpressionMemberOperations< T_Real, StaticAggregatedActiveType< T_Real, T_InnerActiveType > >
inlineImpl const & cast () const
 Cast to implementation.
 

Detailed Description

template<typename T_Real, typename T_InnerActiveType>
struct codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >

Static context implementation of the aggregated active type.

See codi::AggregatedActiveType for details.

Template Parameters
T_RealReal value of the aggregated type.
T_InnerActiveTypeCoDiPack type that composes the aggregated type.

Member Typedef Documentation

◆ Base

template<typename T_Real, typename T_InnerActiveType>
using codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >::Base
Initial value:
Defines an aggregated type via an array and implements the ExpressionInterface.
Definition aggregatedActiveType.hpp:59

Abbreviation for base class.

◆ InnerActiveType

template<typename T_Real, typename T_InnerActiveType>
using codi::StaticAggregatedActiveType< T_Real, T_InnerActiveType >::InnerActiveType
Initial value:
T_InnerActiveType

See StaticAggregatedActiveType.


The documentation for this struct was generated from the following file: