38#include "../../misc/memberStore.hpp"
39#include "../misc/statementSizes.hpp"
55#define CODI_STMT_CALL_GEN_ARGS \
56 StatementCall::ClearAdjoints, StatementCall::Forward, StatementCall::Primal, StatementCall::ResetPrimals, \
57 StatementCall::Reverse, StatementCall::WriteInformation
77 template<StatementCall type,
typename Expr>
80 template<
typename... Args>
104 template<StatementCall type,
typename Expr>
107 template<
typename... Args>
111 template<
typename InnerFunc,
typename... Args>
#define CODI_INLINE
See codi::Config::ForcedInlines.
Definition config.h:469
CoDiPack - Code Differentiation Package.
Definition codi.hpp:94
StatementCall
Defines all the operations which can be evaluated on a statement by a tape.
Definition statementEvaluatorTapeInterface.hpp:45
@ WriteInformation
Get write information.
Definition statementEvaluatorTapeInterface.hpp:51
@ ResetPrimals
Restore the primal values.
Definition statementEvaluatorTapeInterface.hpp:49
@ ClearAdjoints
Clear the adjoint values.
Definition statementEvaluatorTapeInterface.hpp:46
@ N_Elements
Number of elements.
Definition statementEvaluatorTapeInterface.hpp:52
This structure is accessed by the StatementEvaluatorInterface.
Definition statementEvaluatorTapeInterface.hpp:105
inlinestatic void evaluateInner(Args &&... args)
Evaluate expression in a forward mode.
inlinestatic void evaluateFull(InnerFunc func, Args &&... args)
Load the expression data and evaluate the expression.
Tape side interface for StatementEvaluatorInterface.
Definition statementEvaluatorTapeInterface.hpp:97
This structure is accessed by the StatementEvaluatorInterface.
Definition statementEvaluatorTapeInterface.hpp:78
inlinestatic void evaluate(Args &&... args)
Evaluate the full expression.
Tape side interface for StatementEvaluatorInterface.
Definition statementEvaluatorTapeInterface.hpp:70