File ComponentDependencyTracking.hpp
↰ Parent directory (GridKit/Model/EMT)
Partials of EMT models whose parameters size their layouts.
Definition (GridKit/Model/EMT/ComponentDependencyTracking.hpp)
Detailed Description
Luke Lowery (lukel@tamu.edu)
The value and derivative of local value j are tracked as 2j and 2j + 1, at their current values. Dependencies scaled by zero are kept, so the pattern does not change. An output that is not connected is not tracked and has no entries.
A linear model forwards tagDifferentiable, which stores its partials. A model that is not linear also forwards evaluateJacobian, which stores them again at every Jacobian evaluation, without allocating the entries again.
Includes
GridKit/AutomaticDifferentiation/DependencyTracking/Variable.hpp(File Variable.hpp)GridKit/Model/EMT/ComponentImpl.hpp(File ComponentImpl.hpp)algorithmnewvector