Computes Jacobian entries for the event system. More...
#include <primalValueBaseTape.hpp>
Public Member Functions | |
template<typename Node, typename Jacobian> | |
inlinevoid | handleJacobianOnActive (Node const &node, Jacobian jacobianExpr, Identifier *rhsIdentifiers, Real *jacobians) |
Stores the identifiers and Jacobians. | |
JacobianExtractionLogic () | |
Constructor. | |
![]() | |
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. | |
![]() | |
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 | |
![]() | |
using | Impl |
See JacobianComputationLogic. | |
![]() | |
using | Impl |
See TraversalLogic. | |
![]() | |
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. | |
Computes Jacobian entries for the event system.