docs(docs): rebuilt docs

This commit is contained in:
2025-11-24 09:08:28 -05:00
parent 9fab4fbfae
commit 22c0329de0
2410 changed files with 309008 additions and 146081 deletions

View File

@@ -105,9 +105,13 @@ $(function(){initNavTree('dynamic__engine__diagnostics_8h.html',''); initResizab
<div class="headertitle"><div class="title">dynamic_engine_diagnostics.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Diagnostics utilities for DynamicEngine instances.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="engine__abstract_8h.html">gridfire/engine/engine_abstract.h</a>&quot;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &quot;nlohmann/json.hpp&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for dynamic_engine_diagnostics.h:</div>
<div class="dyncontent">
@@ -123,19 +127,39 @@ This graph shows which files directly or indirectly include this file:</div>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire.html">gridfire</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1diagnostics.html">gridfire::diagnostics</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine.html">gridfire::engine</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine_1_1diagnostics.html">gridfire::engine::diagnostics</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9d95a6c9c4a942d71ff4c8046fe4107a" id="r_a9d95a6c9c4a942d71ff4c8046fe4107a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1diagnostics.html#a9d95a6c9c4a942d71ff4c8046fe4107a">gridfire::diagnostics::report_limiting_species</a> (const <a class="el" href="classgridfire_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const std::vector&lt; double &gt; &amp;Y_full, const std::vector&lt; double &gt; &amp;E_full, const std::vector&lt; double &gt; &amp;dydt_full, double relTol, double absTol, size_t top_n=10)</td></tr>
<tr class="separator:a9d95a6c9c4a942d71ff4c8046fe4107a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c0d538e7244bee168d7f9217442128" id="r_a11c0d538e7244bee168d7f9217442128"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1diagnostics.html#a11c0d538e7244bee168d7f9217442128">gridfire::diagnostics::inspect_species_balance</a> (const <a class="el" href="classgridfire_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const std::string &amp;species_name, const fourdst::composition::Composition &amp;comp, double T9, double rho)</td></tr>
<tr class="separator:a11c0d538e7244bee168d7f9217442128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a066ee899bd259062716f25abae3890b0" id="r_a066ee899bd259062716f25abae3890b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1diagnostics.html#a066ee899bd259062716f25abae3890b0">gridfire::diagnostics::inspect_jacobian_stiffness</a> (const <a class="el" href="classgridfire_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const fourdst::composition::Composition &amp;comp, double T9, double rho)</td></tr>
<tr class="separator:a066ee899bd259062716f25abae3890b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad792baf3c6720fce34a5161c0ade3fc4" id="r_ad792baf3c6720fce34a5161c0ade3fc4"><td class="memItemLeft" align="right" valign="top">std::optional&lt; nlohmann::json &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine_1_1diagnostics.html#ad792baf3c6720fce34a5161c0ade3fc4">gridfire::engine::diagnostics::report_limiting_species</a> (const <a class="el" href="classgridfire_1_1engine_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const std::vector&lt; double &gt; &amp;Y_full, const std::vector&lt; double &gt; &amp;E_full, double relTol, double absTol, size_t top_n=10, bool json=false)</td></tr>
<tr class="memdesc:ad792baf3c6720fce34a5161c0ade3fc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Report the species that are limiting the accuracy of the integration. This is useful for identifying species that may be limiting the timestepping due to their high relative errors compared to the specified tolerances. <br /></td></tr>
<tr class="separator:ad792baf3c6720fce34a5161c0ade3fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac2570f6bc58b8825674f60f1634149b" id="r_aac2570f6bc58b8825674f60f1634149b"><td class="memItemLeft" align="right" valign="top">std::optional&lt; nlohmann::json &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine_1_1diagnostics.html#aac2570f6bc58b8825674f60f1634149b">gridfire::engine::diagnostics::inspect_species_balance</a> (const <a class="el" href="classgridfire_1_1engine_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const std::string &amp;species_name, const fourdst::composition::Composition &amp;comp, double T9, double rho, bool json)</td></tr>
<tr class="memdesc:aac2570f6bc58b8825674f60f1634149b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inspect the production and destruction balance of a specific species in the reaction network. This function analyzes the reactions that create and destroy the specified species, providing insights into potential imbalances that may affect the accuracy of the simulation. <br /></td></tr>
<tr class="separator:aac2570f6bc58b8825674f60f1634149b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a42702b787f12988ae8fc7e1e6d8186" id="r_a8a42702b787f12988ae8fc7e1e6d8186"><td class="memItemLeft" align="right" valign="top">std::optional&lt; nlohmann::json &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine_1_1diagnostics.html#a8a42702b787f12988ae8fc7e1e6d8186">gridfire::engine::diagnostics::inspect_jacobian_stiffness</a> (const <a class="el" href="classgridfire_1_1engine_1_1_dynamic_engine.html">DynamicEngine</a> &amp;engine, const fourdst::composition::Composition &amp;comp, double T9, double rho, bool json)</td></tr>
<tr class="memdesc:a8a42702b787f12988ae8fc7e1e6d8186"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inspect the stiffness of the Jacobian matrix for the reaction network at the given temperature and density. This function evaluates the diagonal and off-diagonal elements of the Jacobian to identify potential numerical issues related to stiffness. <br /></td></tr>
<tr class="separator:a8a42702b787f12988ae8fc7e1e6d8186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab247fdf00c23cf857d9131a3462d41ae" id="r_ab247fdf00c23cf857d9131a3462d41ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegridfire_1_1engine_1_1diagnostics.html#ab247fdf00c23cf857d9131a3462d41ae">gridfire::engine::diagnostics::save_jacobian_to_file</a> (const <a class="el" href="classgridfire_1_1engine_1_1_network_jacobian.html">NetworkJacobian</a> &amp;jacobian, const std::string &amp;filename)</td></tr>
<tr class="memdesc:ab247fdf00c23cf857d9131a3462d41ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save the Jacobian matrix to a file for external analysis. <br /></td></tr>
<tr class="separator:ab247fdf00c23cf857d9131a3462d41ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Diagnostics utilities for DynamicEngine instances. </p>
<p>These free functions provide diagnostic tools for analyzing and reporting on the behavior of DynamicEngine instances in GridFire. They include functions for identifying limiting species, inspecting species balance, and evaluating Jacobian stiffness. Generally these functions are expensive to call and should be avoided in performance-critical code paths or during large simulations. These are primarily intended for debugging and analysis during development.</p>
<h1><a class="anchor" id="Functions"></a>
Functions</h1>
<ul>
<li>report_limiting_species: Identifies species that are limiting the accuracy of the integration based on specified tolerances.</li>
<li>inspect_species_balance: Analyzes the production and destruction rates of a specified species to identify imbalances.</li>
<li>inspect_jacobian_stiffness: Evaluates the stiffness of the Jacobian matrix to identify potential numerical issues.</li>
<li>save_jacobian_to_file: Saves the Jacobian matrix to a file for external analysis.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>Each of these functions, aside from save_jacobian_to_file, may return results in JSON format for easy integration with other tools and workflows. If the <code>json</code> parameter is set then the output will be formatted as JSON; otherwise, it will be printed to standard output and <code>std::nullopt</code> will be returned. </dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->