CoDiPack  3.1.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt > Struct Template Reference

WriteInformation implementation. More...

#include <primalValueBaseTape.hpp>

Inheritance diagram for codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt >:

Public Types

using Base = StatementCallGeneratorBase<Stmt, StatementCallGenerator<StatementCall::WriteInformation, Stmt>>
 Base class abbreviation.
 
using StaticRhs = typename Base::StaticRhs
 See StatementCallGeneratorBase.
 
- Public Types inherited from codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, StatementCallGenerator< StatementCall::WriteInformation, Stmt > >
using AggregateTraits
 Traits for aggregated type.
 
using Constructor
 Static construction context.
 
using ExtractExpr
 Extract expressions for aggregated types.
 
using Lhs
 See AssignStatement.
 
using LhsReal
 Primal value of lhs.
 
using Rhs
 See AssignStatement.
 
using StaticRhs
 Static right hand side.
 

Public Member Functions

inlinestatic void evaluate (WriteInfo &writeInfo, Real *primalVector, Config::ArgumentSize numberOfPassiveArguments, char *byteData)
 Evaluate the full expression.
 
template<typename Func, typename... Args>
inlinestatic void evaluateFull (Func const &func, Args &&... args)
 Load the expression data and evaluate the expression.
 
inlinestatic void evaluateInner (size_t const &maxOutputArgs, size_t const &maxActiveArgs, size_t const &maxConstantArgs, WriteInfo &writeInfo, Real *primalVector, Config::ArgumentSize numberOfPassiveArguments, char *byteData)
 Evaluate expression in a forward mode.
 
- Public Member Functions inherited from codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGeneratorBase< Stmt, StatementCallGenerator< StatementCall::WriteInformation, Stmt > >
inlinestatic StaticRhs constructStaticRhs (Real *primalVector, PassiveReal const *const constantValues, Identifier const *const identifiers)
 Construct the statement in the static context.
 
inlinestatic StaticRhs constructStaticRhs (Real *primalVector, PassiveReal const *const constantValues, Identifier const *const identifiers)
 Construct the statement in the static context.
 
inlinestatic void internalEvaluate (Args &&... args)
 Evaluate the full expression.
 
inlinestatic void internalEvaluate (Args &&... args)
 Evaluate the full expression.
 

Detailed Description

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt>
struct codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt >

WriteInformation implementation.

Member Function Documentation

◆ evaluate()

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt>
inlinestatic void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt >::evaluate ( WriteInfo & writeInfo,
Real * primalVector,
Config::ArgumentSize numberOfPassiveArguments,
char * byteData )
inline

Evaluate the full expression.

◆ evaluateFull()

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt>
template<typename Func, typename... Args>
inlinestatic void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt >::evaluateFull ( Func const & func,
Args &&... args )
inline

Load the expression data and evaluate the expression.

◆ evaluateInner()

template<typename T_TapeTypes, typename T_Impl>
template<typename Stmt>
inlinestatic void codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementCallGenerator< StatementCall::WriteInformation, Stmt >::evaluateInner ( size_t const & maxOutputArgs,
size_t const & maxActiveArgs,
size_t const & maxConstantArgs,
WriteInfo & writeInfo,
Real * primalVector,
Config::ArgumentSize numberOfPassiveArguments,
char * byteData )
inline

Evaluate expression in a forward mode.


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