File ComponentEnzyme.hpp
↰ Parent directory (GridKit/Model/OptimalPowerFlow)
Definition of the Component Enzyme derivatives.
Definition (GridKit/Model/OptimalPowerFlow/ComponentEnzyme.hpp)
Detailed Description
Local variables live on the stack, where Enzyme’s sparsity analysis works, and their count is a run-time argument, which Enzyme needs for the loop.
Includes
GridKit/AutomaticDifferentiation/Enzyme/D2LDx2.hpp(File D2LDx2.hpp)GridKit/AutomaticDifferentiation/Enzyme/DfDx.hpp(File DfDx.hpp)GridKit/AutomaticDifferentiation/Enzyme/DgDx.hpp(File DgDx.hpp)GridKit/Model/OptimalPowerFlow/ComponentImpl.hpp(File ComponentImpl.hpp)arraycassert