39#include "expressionInterface.hpp"
40#include "logic/nodeInterface.hpp"
41#include "logic/traversalLogic.hpp"
49 template<
typename T_StoreData>
77 template<
typename T_Real,
template<
typename>
class T_ConversionOperator = ConstantDataConversion>
#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_T(...)
Abbreviation for CODI_TEMPLATE.
Definition macros.hpp:116
CoDiPack - Code Differentiation Package.
Definition codi.hpp:94
Definition constantExpression.hpp:50
T_StoreData StoreData
See ConstantDataConversion.
Definition constantExpression.hpp:53
static StoreData const & toDataStore(StoreData const &v)
Convert the data from the constant expression to the store.
Definition constantExpression.hpp:62
static ArgumentData const & fromDataStore(StoreData const &v)
Convert the data from the store to the argument of the constant expression.
Definition constantExpression.hpp:57
StoreData ArgumentData
Defined by specializations.
Definition constantExpression.hpp:54
Represents constant values in the expression tree.
Definition constantExpression.hpp:78
T_ConversionOperator< T > ConversionOperator
See ConstantExpression.
Definition constantExpression.hpp:85
static size_t constexpr LinkCount
handle the expression as a leaf node.
Definition constantExpression.hpp:112
void ADLogic
AD logic that governs the expression. Needs to be the same for all inputs of the expression.
Definition constantExpression.hpp:100
ConstantExpression StoreAs
Defines how this expression is stored in an expression tree.
Definition constantExpression.hpp:99
T_Real Real
See ConstantExpression.
Definition constantExpression.hpp:81
inlineReal const & getValue() const
Compute the primal value that is usually evaluated by the statement/expression.
Definition constantExpression.hpp:103
ExpressionInterface()=default