CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::IncrementReversalLogic Struct Reference

Perform the adjoint update based on the configuration in codi::Config::VariableAdjointInterfaceInPrimalTapes. More...

#include <primalValueBaseTape.hpp>

Inheritance diagram for codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::IncrementReversalLogic:

Public Member Functions

template<typename Node>
inlinevoid handleJacobianOnActive (Node const &node, Real jacobian, Gradient const &lhsAdjoint, Gradient *adjointVector)
 See IncrementReversalLogic.
 
- Public Member Functions inherited from codi::JacobianComputationLogic< IncrementReversalLogic >
void handleJacobianOnActive (Node const &node, Jacobian jacobian, Args &&... args)
 Called for leaf nodes which implement LhsExpressionInterface.
 
inlineExpressionTraits::EnableIfLhsExpression< Node > leaf (Node const &node, Jacobian jacobian, Args &&... args)
 Called for all leaf nodes in the expression.
 
inlinevoid link (Child const &child, Root const &root, Jacobian const &jacobian, Args &&... args)
 
inlinevoid link (ConstantExpression< Real, ConvOp > const &child, Root const &root, Jacobian const &jacobian, Args &&... args)
 Specialization for ConstantExpressions. Will not compute Jacobians for these links.
 
- Public Member Functions inherited from codi::TraversalLogic< IncrementReversalLogic >
inlineImpl & cast ()
 Cast to the implementation.
 
inlinevoid eval (NodeInterface< Node > const &node, Args &&... args)
 Start the evaluation of the logic on the given expression.
 
inlinevoid node (Node const &node, Args &&... args)
 Called for each node in the expression.
 
inlinevoid leaf (Node const &node, Args &&... args)
 Called for all leaf nodes in the expression.
 
inlinevoid link (Child const &child, Root const &root, Args &&... args)
 Called for all links in the expression.
 

Additional Inherited Members

- Public Types inherited from codi::JacobianComputationLogic< IncrementReversalLogic >
using Impl
 See JacobianComputationLogic.
 
- Public Types inherited from codi::TraversalLogic< IncrementReversalLogic >
using Impl
 See TraversalLogic.
 
- Protected Member Functions inherited from codi::TraversalLogic< IncrementReversalLogic >
inlinevoid toLinks (Node const &node, Args &&... args)
 Helper method which calls link for each child.
 
inlinevoid toNode (Node const &node, Args &&... args)
 Helper method to distinguish between leaf nodes and normal nodes.
 

Detailed Description

template<typename T_TapeTypes, typename T_Impl>
struct codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::IncrementReversalLogic

Perform the adjoint update based on the configuration in codi::Config::VariableAdjointInterfaceInPrimalTapes.


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