-end</code></pre><p>The sensitivity mechanism is kept in a separate package because of the high dependency and load time cost introduced by the automatic differentiation libraries. Different choices of automatic differentiation are then selected by the <code>sensealg</code> keyword argument in <code>solve</code>, which is made into a positional argument in the <code>_solve_adjoint</code> and other functions in order to allow dispatch.</p><h2 id="SensitivityADPassThrough"><a class="docs-heading-anchor" href="#SensitivityADPassThrough">SensitivityADPassThrough</a><a id="SensitivityADPassThrough-1"></a><a class="docs-heading-anchor-permalink" href="#SensitivityADPassThrough" title="Permalink"></a></h2><p>The special sensitivity algorithm <code>SensitivityADPassThrough</code> is used to ignore the internal sensitivity dispatches and instead do automatic differentiation directly through the solver. Generally this <code>sensealg</code> is only used internally.</p><h2 id="Note-about-ForwardDiff"><a class="docs-heading-anchor" href="#Note-about-ForwardDiff">Note about ForwardDiff</a><a id="Note-about-ForwardDiff-1"></a><a class="docs-heading-anchor-permalink" href="#Note-about-ForwardDiff" title="Permalink"></a></h2><p>ForwardDiff does not use ChainRules.jl and thus it completely ignores the special handling.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../Common_Keywords/">« Common Keyword Arguments</a><a class="docs-footer-nextpage" href="../PDE/">The PDE Definition Interface »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.1 on <span class="colophon-date" title="Wednesday 12 February 2025 16:38">Wednesday 12 February 2025</span>. Using Julia version 1.11.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments