Files
GridFire/docs/html/reaction_8h_source.html

689 lines
159 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GridFire: src/network/include/gridfire/reaction/reaction.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">GridFire<span id="projectnumber">&#160;0.0.1a</span>
</div>
<div id="projectbrief">General Purpose Nuclear Network</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('reaction_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">reaction.h</div></div>
</div><!--header-->
<div class="contents">
<a href="reaction_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &lt;string_view&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;fourdst/composition/atomicSpecies.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;fourdst/logging/logging.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;quill/Logger.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;unordered_set&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;cppad/cppad.hpp&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;xxhash64.h&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span></div>
<div class="foldopen" id="foldopen00025" data-start="{" data-end="}">
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="namespacegridfire_1_1reaction.html"> 25</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">gridfire::reaction</a> {</div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html"> 33</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">RateCoefficientSet</a> {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2fa6b65e300dcd181222b743c2b3d6ed"> 34</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2fa6b65e300dcd181222b743c2b3d6ed">a0</a>; </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ace9dbd928e179784e47eaa108ce8d721"> 35</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ace9dbd928e179784e47eaa108ce8d721">a1</a>; </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2a9316d19bc2e8bf0a7872eb6fe8a53f"> 36</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2a9316d19bc2e8bf0a7872eb6fe8a53f">a2</a>; </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a3d047485ebb57d6c763adfe4aae493b1"> 37</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a3d047485ebb57d6c763adfe4aae493b1">a3</a>; </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ae57b2eac71cb4ed9947f40c9cb8fc3ca"> 38</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ae57b2eac71cb4ed9947f40c9cb8fc3ca">a4</a>; </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a8c79db4e649b4eb1d29c43ebe4e95458"> 39</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a8c79db4e649b4eb1d29c43ebe4e95458">a5</a>; </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#adf8e6ed7f91cb9e15d1469a808b1877a"> 40</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#adf8e6ed7f91cb9e15d1469a808b1877a">a6</a>; </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span></div>
<div class="foldopen" id="foldopen00048" data-start="{" data-end="}">
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a31a92f95a27e4430209dfc2bdfa5c40f"> 48</a></span> <span class="keyword">friend</span> std::ostream&amp; <a class="code hl_friend" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a31a92f95a27e4430209dfc2bdfa5c40f">operator&lt;&lt;</a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_struct" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">RateCoefficientSet</a>&amp; r) {</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> os &lt;&lt; <span class="stringliteral">&quot;[&quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2fa6b65e300dcd181222b743c2b3d6ed">a0</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ace9dbd928e179784e47eaa108ce8d721">a1</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2a9316d19bc2e8bf0a7872eb6fe8a53f">a2</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a3d047485ebb57d6c763adfe4aae493b1">a3</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ae57b2eac71cb4ed9947f40c9cb8fc3ca">a4</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a8c79db4e649b4eb1d29c43ebe4e95458">a5</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; r.<a class="code hl_variable" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#adf8e6ed7f91cb9e15d1469a808b1877a">a6</a> &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keywordflow">return</span> os;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> }</div>
</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> };</div>
</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span></div>
<div class="foldopen" id="foldopen00072" data-start="{" data-end="};">
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html"> 72</a></span> <span class="keyword">class </span><a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a> {</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#ab1860df84843be70f97469761e11ab6a"> 77</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ab1860df84843be70f97469761e11ab6a">~Reaction</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a>(</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">const</span> std::string_view <span class="keywordtype">id</span>,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">const</span> std::string_view <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a78f42664cc957e266b6cf15fda09be97">peName</a>,</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a5cb438adfefb640e4bc58e09053bd629">chapter</a>,</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">const</span> std::vector&lt;fourdst::atomic::Species&gt; &amp;<a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a0b543e9b0bb4a21efe4b29780d9bdf5b">reactants</a>,</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">const</span> std::vector&lt;fourdst::atomic::Species&gt; &amp;<a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a6e2ff61b9e8409f2a561663628b8ce02">products</a>,</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#abda0b4e4313e6d4ba57acf37d5976fb8">qValue</a>,</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">const</span> std::string_view label,</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">const</span> <a class="code hl_struct" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">RateCoefficientSet</a> &amp;sets,</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> reverse = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> [[nodiscard]] <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ad81e9b2a1773470059ca6989c60556ec">calculate_rate</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> T9) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> [[nodiscard]] <span class="keyword">virtual</span> CppAD::AD&lt;double&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ad81e9b2a1773470059ca6989c60556ec">calculate_rate</a>(<span class="keyword">const</span> CppAD::AD&lt;double&gt; T9) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a78f42664cc957e266b6cf15fda09be97"> 120</a></span> [[nodiscard]] <span class="keyword">virtual</span> std::string_view <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a78f42664cc957e266b6cf15fda09be97">peName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a6124aa9fc2306349e1dd879a37923248">m_peName</a>; }</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a5cb438adfefb640e4bc58e09053bd629"> 126</a></span> [[nodiscard]] <span class="keywordtype">int</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a5cb438adfefb640e4bc58e09053bd629">chapter</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a16f9cbb6269817099d3dc07d4e63da7b">m_chapter</a>; }</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a410e2ab0784ad751f82bbe55be603db0"> 132</a></span> [[nodiscard]] std::string_view <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a410e2ab0784ad751f82bbe55be603db0">sourceLabel</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a0185c6be5465d113f25e00aee1297cd6">m_sourceLabel</a>; }</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a85968076e686e67763f4fdf4f72a892e"> 138</a></span> [[nodiscard]] <span class="keyword">const</span> <a class="code hl_struct" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">RateCoefficientSet</a>&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a85968076e686e67763f4fdf4f72a892e">rateCoefficients</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>; }</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ab92785f331a446e51a0960b75d60b37b">contains</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#abbe243affa61ba9b2cd2a7b905cd5e45">contains_reactant</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a074d3cd2421fd5d0133e47f0522403e2">contains_product</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> [[nodiscard]] std::unordered_set&lt;fourdst::atomic::Species&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dc8fda87e0581fde6da0a81cf4d7224">all_species</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> [[nodiscard]] std::unordered_set&lt;fourdst::atomic::Species&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a855ea65e4b62fb0cddc550424a4bc923">reactant_species</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> [[nodiscard]] std::unordered_set&lt;fourdst::atomic::Species&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a01c67726efbaa2ff8e4d6f2c965f485c">product_species</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> [[nodiscard]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a1d3c8ab6d55155f9a21ad80ed8b9ef97">num_species</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#aaf0c94db6536b4a9ac1ec08a5c8f01ac"> 190</a></span> [[nodiscard]] <span class="keywordtype">int</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#aaf0c94db6536b4a9ac1ec08a5c8f01ac">stoichiometry</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> [[nodiscard]] std::unordered_map&lt;fourdst::atomic::Species, int&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ad359c06d7196c1a7a955a7b66a51dbe3">stoichiometry</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a084c38181408ed5e6fa2a2dd4d0ec905"> 202</a></span> [[nodiscard]] std::string_view <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a084c38181408ed5e6fa2a2dd4d0ec905">id</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">m_id</a>; }</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#abda0b4e4313e6d4ba57acf37d5976fb8"> 208</a></span> [[nodiscard]] <span class="keywordtype">double</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#abda0b4e4313e6d4ba57acf37d5976fb8">qValue</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a59122a2898bb9af640cc3e9aeb49028b">m_qValue</a>; }</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a0b543e9b0bb4a21efe4b29780d9bdf5b"> 214</a></span> [[nodiscard]] <span class="keyword">const</span> std::vector&lt;fourdst::atomic::Species&gt;&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a0b543e9b0bb4a21efe4b29780d9bdf5b">reactants</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a87a065b3c7806bcdb5eadb7de2978a11">m_reactants</a>; }</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a6e2ff61b9e8409f2a561663628b8ce02"> 220</a></span> [[nodiscard]] <span class="keyword">const</span> std::vector&lt;fourdst::atomic::Species&gt;&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a6e2ff61b9e8409f2a561663628b8ce02">products</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a4b5607ed413acdf29539b8a57461e49e">m_products</a>; }</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#aa67d05dfabf007c1acad34052d9a1dba"> 226</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#aa67d05dfabf007c1acad34052d9a1dba">is_reverse</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a0b0b9ac498080aae91ffd466d1ae85a9">m_reverse</a>; }</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> [[nodiscard]] <span class="keywordtype">double</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#aa1d71e38fc55ae691dbb9ec459a612a5">excess_energy</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#ac426457cf0a54a15b206549422083bac"> 239</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#ac426457cf0a54a15b206549422083bac">operator==</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a>&amp; other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">m_id</a> == other.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">m_id</a>; }</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span></div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a2f1c115a99bc7c477a2e858ff18b1b51"> 246</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a2f1c115a99bc7c477a2e858ff18b1b51">operator!=</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a>&amp; other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other); }</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> [[nodiscard]] uint64_t <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#af6c20e6d03a2d9f87632f71a90b88cb5">hash</a>(uint64_t seed = 0) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="foldopen" id="foldopen00256" data-start="{" data-end="}">
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a2b05ab608187216fc751bd2e42e8b7d8"> 256</a></span> <span class="keyword">friend</span> std::ostream&amp; <a class="code hl_friend" href="classgridfire_1_1reaction_1_1_reaction.html#a2b05ab608187216fc751bd2e42e8b7d8">operator&lt;&lt;</a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a>&amp; r) {</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <span class="keywordflow">return</span> os &lt;&lt; <span class="stringliteral">&quot;(Reaction:&quot;</span> &lt;&lt; r.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">m_id</a> &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> }</div>
</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a7044d0a1d59d85502ce554e4ec2167e4"> 261</a></span> quill::Logger* <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a7044d0a1d59d85502ce554e4ec2167e4">m_logger</a> = fourdst::logging::LogManager::getInstance().getLogger(<span class="stringliteral">&quot;log&quot;</span>);</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b"> 262</a></span> std::string <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">m_id</a>; </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a6124aa9fc2306349e1dd879a37923248"> 263</a></span> std::string <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a6124aa9fc2306349e1dd879a37923248">m_peName</a>; </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a16f9cbb6269817099d3dc07d4e63da7b"> 264</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a16f9cbb6269817099d3dc07d4e63da7b">m_chapter</a>; </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a59122a2898bb9af640cc3e9aeb49028b"> 265</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a59122a2898bb9af640cc3e9aeb49028b">m_qValue</a> = 0.0; </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a87a065b3c7806bcdb5eadb7de2978a11"> 266</a></span> std::vector&lt;fourdst::atomic::Species&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a87a065b3c7806bcdb5eadb7de2978a11">m_reactants</a>; </div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a4b5607ed413acdf29539b8a57461e49e"> 267</a></span> std::vector&lt;fourdst::atomic::Species&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a4b5607ed413acdf29539b8a57461e49e">m_products</a>; </div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a0185c6be5465d113f25e00aee1297cd6"> 268</a></span> std::string <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a0185c6be5465d113f25e00aee1297cd6">m_sourceLabel</a>; </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72"> 269</a></span> <a class="code hl_struct" href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">RateCoefficientSet</a> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>; </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a0b0b9ac498080aae91ffd466d1ae85a9"> 270</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#a0b0b9ac498080aae91ffd466d1ae85a9">m_reverse</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00281" data-start="{" data-end="}">
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_reaction.html#a648b9ed6108bed2469dc028fb7e351af"> 281</a></span> [[nodiscard]] T <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a648b9ed6108bed2469dc028fb7e351af">calculate_rate</a>(<span class="keyword">const</span> T T9)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="keyword">const</span> T T913 = CppAD::pow(T9, 1.0/3.0);</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="keyword">const</span> T T953 = CppAD::pow(T9, 5.0/3.0);</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keyword">const</span> T logT9 = CppAD::log(T9);</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <span class="keyword">const</span> T exponent = <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a0 +</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a1 / T9 +</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a2 / T913 +</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a3 * T913 +</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a4 * T9 +</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a5 * T953 +</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">m_rateCoefficients</a>.a6 * logT9;</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keywordflow">return</span> CppAD::exp(exponent);</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> }</div>
</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> };</div>
</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span></div>
<div class="foldopen" id="foldopen00308" data-start="{" data-end="};">
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html"> 308</a></span> <span class="keyword">class </span><a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a6965906ea33ebd0d615811219d9e9537">LogicalReaction</a> final : <span class="keyword">public</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a> {</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a6965906ea33ebd0d615811219d9e9537">LogicalReaction</a>(<span class="keyword">const</span> std::vector&lt;Reaction&gt; &amp;reactions);</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a14a24cb8ea25a1514134acc51197f1de">add_reaction</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">Reaction</a>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>);</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span></div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#afa41050855b842c63db16c94d2e9b897"> 329</a></span> [[nodiscard]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#afa41050855b842c63db16c94d2e9b897">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>.size(); }</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span></div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#add094eda0e71126f8443698d7f3317f4"> 335</a></span> [[nodiscard]] std::vector&lt;std::string&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#add094eda0e71126f8443698d7f3317f4">sources</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a7fe91d24e20ebc76d612f6ad742f476f">m_sources</a>; }</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span></div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> [[nodiscard]] <span class="keywordtype">double</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a1d2fb3b6a6a1860ace98b32447d1dd1b">calculate_rate</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> T9) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span></div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> [[nodiscard]] CppAD::AD&lt;double&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a1d2fb3b6a6a1860ace98b32447d1dd1b">calculate_rate</a>(<span class="keyword">const</span> CppAD::AD&lt;double&gt; T9) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a4ae3806e5e1a802b86a6de292d043476"> 355</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a4ae3806e5e1a802b86a6de292d043476">begin</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>.begin(); }</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a5d410de1053f8028faed1f0d0a6083f5"> 356</a></span> [[nodiscard]] <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a5d410de1053f8028faed1f0d0a6083f5">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>.cbegin(); }</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#af8d23557326e6c8499fa4919ac0bd972"> 357</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#af8d23557326e6c8499fa4919ac0bd972">end</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>.end(); }</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a054994f733b44293b4d79f3a9b207560"> 358</a></span> [[nodiscard]] <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a054994f733b44293b4d79f3a9b207560">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>.cend(); }</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> </div>
<div class="foldopen" id="foldopen00362" data-start="{" data-end="}">
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a10cbea11653524dae2f7eafb5c22c90f"> 362</a></span> <span class="keyword">friend</span> std::ostream&amp; <a class="code hl_friend" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a10cbea11653524dae2f7eafb5c22c90f">operator&lt;&lt;</a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a6965906ea33ebd0d615811219d9e9537">LogicalReaction</a>&amp; r) {</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> os &lt;&lt; <span class="stringliteral">&quot;(LogicalReaction: &quot;</span> &lt;&lt; r.<a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#a084c38181408ed5e6fa2a2dd4d0ec905">id</a>() &lt;&lt; <span class="stringliteral">&quot;, reverse: &quot;</span> &lt;&lt; r.<a class="code hl_function" href="classgridfire_1_1reaction_1_1_reaction.html#aa67d05dfabf007c1acad34052d9a1dba">is_reverse</a>() &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> <span class="keywordflow">return</span> os;</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> }</div>
</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> </div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a7fe91d24e20ebc76d612f6ad742f476f"> 368</a></span> std::vector&lt;std::string&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a7fe91d24e20ebc76d612f6ad742f476f">m_sources</a>; </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d"> 369</a></span> std::vector&lt;RateCoefficientSet&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>; </div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00381" data-start="{" data-end="}">
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a019b721d83741acdb16036f00739f87c"> 381</a></span> [[nodiscard]] T <a class="code hl_function" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a019b721d83741acdb16036f00739f87c">calculate_rate</a>(<span class="keyword">const</span> T T9)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> T sum = <span class="keyword">static_cast&lt;</span>T<span class="keyword">&gt;</span>(0.0);</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> <span class="keyword">const</span> T T913 = CppAD::pow(T9, 1.0/3.0);</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <span class="keyword">const</span> T T953 = CppAD::pow(T9, 5.0/3.0);</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> <span class="keyword">const</span> T logT9 = CppAD::log(T9);</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> <span class="comment">// ReSharper disable once CppUseStructuredBinding</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; rate : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">m_rates</a>) {</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> <span class="keyword">const</span> T exponent = rate.a0 +</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> rate.a1 / T9 +</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> rate.a2 / T913 +</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> rate.a3 * T913 +</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> rate.a4 * T9 +</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> rate.a5 * T953 +</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> rate.a6 * logT9;</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> sum += CppAD::exp(exponent);</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> }</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> <span class="keywordflow">return</span> sum;</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> }</div>
</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> };</div>
</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> </div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00402" data-start="{" data-end="};">
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html"> 402</a></span> <span class="keyword">class </span><a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet</a> final {</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e"> 408</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet</a>(std::vector&lt;ReactionT&gt; reactions);</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ada1d1880be53b81a9ed7b966fd6ade5a"> 414</a></span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ada1d1880be53b81a9ed7b966fd6ade5a">TemplatedReactionSet</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; other);</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span></div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac510dce14a6033551318c0c7b241f3c8"> 421</a></span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac510dce14a6033551318c0c7b241f3c8">operator=</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; other);</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a339dbbf883b6ae20e33d9782d8376bcf"> 427</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a339dbbf883b6ae20e33d9782d8376bcf">add_reaction</a>(ReactionT <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>);</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a89c4c5af12aef7fbfc24316c88237e22"> 433</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a89c4c5af12aef7fbfc24316c88237e22">remove_reaction</a>(<span class="keyword">const</span> ReactionT&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>);</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span></div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c"> 440</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c">contains</a>(<span class="keyword">const</span> std::string_view&amp; <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ab8cb5fbce6b819b9e4e44b0c2db54c6f"> 447</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ab8cb5fbce6b819b9e4e44b0c2db54c6f">contains</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgridfire_1_1reaction_1_1_reaction.html">Reaction</a>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a6a1dc3c56690386ae9f6aa5c2aa37ba2"> 453</a></span> [[nodiscard]] <span class="keywordtype">size_t</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a6a1dc3c56690386ae9f6aa5c2aa37ba2">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size(); }</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a05f71d318564d880079fd6c96d59ae21"> 458</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a05f71d318564d880079fd6c96d59ae21">clear</a>();</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad870856d206d93f27125c88d44ff9e34"> 465</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad870856d206d93f27125c88d44ff9e34">contains_species</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac42606350d7557106f7954b1f114c128"> 472</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac42606350d7557106f7954b1f114c128">contains_reactant</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a443ec5d7138764b32975232e13071ccf"> 479</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a443ec5d7138764b32975232e13071ccf">contains_product</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span></div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad"> 487</a></span> [[nodiscard]] <span class="keyword">const</span> ReactionT&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad">operator[]</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a13e003529a17fa61aafdce3abd2dc773"> 495</a></span> [[nodiscard]] <span class="keyword">const</span> ReactionT&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a13e003529a17fa61aafdce3abd2dc773">operator[]</a>(<span class="keyword">const</span> std::string_view&amp; <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span></div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a128660f5fbc67054f73811ed2982d24d"> 502</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a128660f5fbc67054f73811ed2982d24d">operator==</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet</a>&amp; other) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span></div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aac76ec883b4ecebb2a94b2485dae7105"> 509</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aac76ec883b4ecebb2a94b2485dae7105">operator!=</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet</a>&amp; other) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span></div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c"> 519</a></span> [[nodiscard]] uint64_t <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c">hash</a>(uint64_t seed = 0) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a87257704009fcd57b553f86cdaacb597"> 525</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a87257704009fcd57b553f86cdaacb597">begin</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.begin(); }</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aee42bb25973dadc6629bdb5cb1db6369"> 526</a></span> [[nodiscard]] <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aee42bb25973dadc6629bdb5cb1db6369">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.cbegin(); }</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad19adbee44a71559a53785e3b1fc7e92"> 527</a></span> <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad19adbee44a71559a53785e3b1fc7e92">end</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.end(); }</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac128da7417955ef8c5cb2bde5a1293c9"> 528</a></span> [[nodiscard]] <span class="keyword">auto</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac128da7417955ef8c5cb2bde5a1293c9">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.cend(); }</div>
<div class="foldopen" id="foldopen00531" data-start="{" data-end="}">
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a47265467dbf2c324ce3e4c85ebbaa6a7"> 531</a></span> <span class="keyword">friend</span> std::ostream&amp; <a class="code hl_friend" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a47265467dbf2c324ce3e4c85ebbaa6a7">operator&lt;&lt;</a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; r) {</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> os &lt;&lt; <span class="stringliteral">&quot;(ReactionSet: [&quot;</span>;</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> <span class="keywordtype">int</span> counter = 0;</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : r.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> os &lt;&lt; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>;</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <span class="keywordflow">if</span> (counter &lt; r.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size() - 2) {</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> os &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>;</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (counter == r.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size() - 2) {</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> os &lt;&lt; <span class="stringliteral">&quot; and &quot;</span>;</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> }</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> ++counter;</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> }</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> os &lt;&lt; <span class="stringliteral">&quot;])&quot;</span>;</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <span class="keywordflow">return</span> os;</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> }</div>
</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> </div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a1596de3439735a45ac344fa85ace6c82"> 547</a></span> [[nodiscard]] std::unordered_set&lt;fourdst::atomic::Species&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a1596de3439735a45ac344fa85ace6c82">getReactionSetSpecies</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac6fcc5b08938b73ff6dac680e5bf28d9"> 549</a></span> quill::Logger* <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac6fcc5b08938b73ff6dac680e5bf28d9">m_logger</a> = fourdst::logging::LogManager::getInstance().getLogger(<span class="stringliteral">&quot;log&quot;</span>);</div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600"> 550</a></span> std::vector&lt;ReactionT&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>;</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5fda3af5ea9ae0ecfb60a61a9e07f5b4"> 551</a></span> std::string <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5fda3af5ea9ae0ecfb60a61a9e07f5b4">m_id</a>;</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979"> 552</a></span> std::unordered_map&lt;std::string, ReactionT&gt; <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>; </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> </div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span> };</div>
</div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span> </div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="namespacegridfire_1_1reaction.html#ad838ce3fb6cc02c3fd90b924a0dd91b1"> 556</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="namespacegridfire_1_1reaction.html#ad838ce3fb6cc02c3fd90b924a0dd91b1">ReactionSet</a> = <a class="code hl_class" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html">TemplatedReactionSet&lt;Reaction&gt;</a>; </div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="namespacegridfire_1_1reaction.html#aa86f08712565f278adacc7cd2361eb31"> 557</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="namespacegridfire_1_1reaction.html#aa86f08712565f278adacc7cd2361eb31">LogicalReactionSet</a> = <a class="code hl_class" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html">TemplatedReactionSet&lt;LogicalReaction&gt;</a>; </div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> </div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> <a class="code hl_typedef" href="namespacegridfire_1_1reaction.html#aa86f08712565f278adacc7cd2361eb31">LogicalReactionSet</a> <a class="code hl_function" href="namespacegridfire_1_1reaction.html#abfcfafc0cda0c3ed56930a12e7ead67f">packReactionSetToLogicalReactionSet</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespacegridfire_1_1reaction.html#ad838ce3fb6cc02c3fd90b924a0dd91b1">ReactionSet</a>&amp; reactionSet);</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> </div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00562" data-start="{" data-end="}">
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e"> 562</a></span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;::TemplatedReactionSet</a>(</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> std::vector&lt;ReactionT&gt; reactions</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> ) :</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::move(reactions)) {</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.empty()) {</div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> return; <span class="comment">// Case where the reactions will be added later.</span></div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> }</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.reserve(reactions.size());</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> for (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5fda3af5ea9ae0ecfb60a61a9e07f5b4">m_id</a> += <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.id();</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.emplace(<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.id(), <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>);</div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"> 573</span> }</div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"> 574</span> }</div>
</div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span> </div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00577" data-start="{" data-end="}">
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ada1d1880be53b81a9ed7b966fd6ade5a"> 577</a></span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;::TemplatedReactionSet</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a> &amp;other) {</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.reserve(other.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size());</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; reaction_ptr: other.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.push_back(reaction_ptr);</div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span> }</div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span> </div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.reserve(other.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.size());</div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; reaction_ptr : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.emplace(reaction_ptr.id(), reaction_ptr);</div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> }</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> }</div>
</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00590" data-start="{" data-end="}">
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac510dce14a6033551318c0c7b241f3c8"> 590</a></span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac510dce14a6033551318c0c7b241f3c8">TemplatedReactionSet&lt;ReactionT&gt;::operator=</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a> &amp;other) {</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other) {</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet</a> temp(other);</div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span> std::swap(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>, temp.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>);</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> std::swap(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>, temp.<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>);</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> }</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span> }</div>
</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span> </div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00600" data-start="{" data-end="}">
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a339dbbf883b6ae20e33d9782d8376bcf"> 600</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a339dbbf883b6ae20e33d9782d8376bcf">TemplatedReactionSet&lt;ReactionT&gt;::add_reaction</a>(ReactionT <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>) {</div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.emplace_back(<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>);</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5fda3af5ea9ae0ecfb60a61a9e07f5b4">m_id</a> += <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.back().id();</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.emplace(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.back().id(), <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.back());</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> }</div>
</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> </div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00607" data-start="{" data-end="}">
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a89c4c5af12aef7fbfc24316c88237e22"> 607</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a89c4c5af12aef7fbfc24316c88237e22">TemplatedReactionSet&lt;ReactionT&gt;::remove_reaction</a>(<span class="keyword">const</span> ReactionT&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>) {</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> <span class="keywordflow">if</span> (!<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.contains(std::string(<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.id()))) {</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span> }</div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span> </div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.erase(std::string(<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.id()));</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> </div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> std::erase_if(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>, [&amp;<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>](<span class="keyword">const</span> <a class="code hl_class" href="classgridfire_1_1reaction_1_1_reaction.html">Reaction</a>&amp; r) {</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span> <span class="keywordflow">return</span> r == <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>;</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> });</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> }</div>
</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> </div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"> 619</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00620" data-start="{" data-end="}">
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c"> 620</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c">TemplatedReactionSet&lt;ReactionT&gt;::contains</a>(<span class="keyword">const</span> std::string_view&amp; <span class="keywordtype">id</span>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> <span class="keywordflow">if</span> (<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.id() == <span class="keywordtype">id</span>) {</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> }</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span> }</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> }</div>
</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> </div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"> 629</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00630" data-start="{" data-end="}">
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ab8cb5fbce6b819b9e4e44b0c2db54c6f"> 630</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c">TemplatedReactionSet&lt;ReactionT&gt;::contains</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgridfire_1_1reaction_1_1_reaction.html">Reaction</a>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"> 631</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; r : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"> 632</span> <span class="keywordflow">if</span> (r == <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>) {</div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"> 633</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span> }</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> }</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span> }</div>
</div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"> 638</span> </div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"> 639</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00640" data-start="{" data-end="}">
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a05f71d318564d880079fd6c96d59ae21"> 640</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a05f71d318564d880079fd6c96d59ae21">TemplatedReactionSet&lt;ReactionT&gt;::clear</a>() {</div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"> 641</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.clear();</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.clear();</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> }</div>
</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> </div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00646" data-start="{" data-end="}">
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad870856d206d93f27125c88d44ff9e34"> 646</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad870856d206d93f27125c88d44ff9e34">TemplatedReactionSet&lt;ReactionT&gt;::contains_species</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> <span class="keywordflow">if</span> (<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.contains(species)) {</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> }</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"> 651</span> }</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> }</div>
</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> </div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00656" data-start="{" data-end="}">
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac42606350d7557106f7954b1f114c128"> 656</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac42606350d7557106f7954b1f114c128">TemplatedReactionSet&lt;ReactionT&gt;::contains_reactant</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; r : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span> <span class="keywordflow">if</span> (r.contains_reactant(species)) {</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> }</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> }</div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno"> 662</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span> }</div>
</div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span> </div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00666" data-start="{" data-end="}">
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a443ec5d7138764b32975232e13071ccf"> 666</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a443ec5d7138764b32975232e13071ccf">TemplatedReactionSet&lt;ReactionT&gt;::contains_product</a>(<span class="keyword">const</span> fourdst::atomic::Species&amp; species)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; r : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span> <span class="keywordflow">if</span> (r.contains_product(species)) {</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> }</div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> }</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> }</div>
</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> </div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00676" data-start="{" data-end="}">
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad"> 676</a></span> <span class="keyword">const</span> ReactionT&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad">TemplatedReactionSet&lt;ReactionT&gt;::operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> <span class="keywordflow">if</span> (index &gt;= <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size()) {</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac6fcc5b08938b73ff6dac680e5bf28d9">m_logger</a> -&gt; flush_log();</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> <span class="keywordflow">throw</span> std::out_of_range(<span class="stringliteral">&quot;Index&quot;</span> + std::to_string(index) + <span class="stringliteral">&quot; out of range for ReactionSet of size &quot;</span> + std::to_string(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size()) + <span class="stringliteral">&quot;.&quot;</span>);</div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> }</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>[index];</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> }</div>
</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> </div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00685" data-start="{" data-end="}">
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a13e003529a17fa61aafdce3abd2dc773"> 685</a></span> <span class="keyword">const</span> ReactionT&amp; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad">TemplatedReactionSet&lt;ReactionT&gt;::operator[]</a>(<span class="keyword">const</span> std::string_view&amp; <span class="keywordtype">id</span>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> it = <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.find(std::string(<span class="keywordtype">id</span>)); it != <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">m_reactionNameMap</a>.end()) {</div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> <span class="keywordflow">return</span> it-&gt;second;</div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> }</div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span> <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac6fcc5b08938b73ff6dac680e5bf28d9">m_logger</a> -&gt; flush_log();</div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> <span class="keywordflow">throw</span> std::out_of_range(<span class="stringliteral">&quot;Species &quot;</span> + std::string(<span class="keywordtype">id</span>) + <span class="stringliteral">&quot; does not exist in ReactionSet.&quot;</span>);</div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> }</div>
</div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span> </div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00694" data-start="{" data-end="}">
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a128660f5fbc67054f73811ed2982d24d"> 694</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a128660f5fbc67054f73811ed2982d24d">TemplatedReactionSet&lt;ReactionT&gt;::operator==</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; other)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a6a1dc3c56690386ae9f6aa5c2aa37ba2">size</a>() != other.<a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a6a1dc3c56690386ae9f6aa5c2aa37ba2">size</a>()) {</div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> }</div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c">hash</a>() == other.<a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c">hash</a>();</div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span> }</div>
</div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span> </div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00702" data-start="{" data-end="}">
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aac76ec883b4ecebb2a94b2485dae7105"> 702</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aac76ec883b4ecebb2a94b2485dae7105">TemplatedReactionSet&lt;ReactionT&gt;::operator!=</a>(<span class="keyword">const</span> <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">TemplatedReactionSet&lt;ReactionT&gt;</a>&amp; other)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span> <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other);</div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"> 704</span> }</div>
</div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"> 705</span> </div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"> 706</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00707" data-start="{" data-end="}">
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c"> 707</a></span> uint64_t <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c">TemplatedReactionSet&lt;ReactionT&gt;::hash</a>(uint64_t seed)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"> 708</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.empty()) {</div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"> 709</span> <span class="keywordflow">return</span> XXHash64::hash(<span class="keyword">nullptr</span>, 0, seed);</div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno"> 710</span> }</div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno"> 711</span> std::vector&lt;uint64_t&gt; individualReactionHashes;</div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"> 712</span> individualReactionHashes.reserve(<a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>.size());</div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno"> 713</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"> 714</span> individualReactionHashes.push_back(<a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.hash(seed));</div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"> 715</span> }</div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span> </div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> std::ranges::sort(individualReactionHashes);</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> </div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> <span class="keyword">const</span> <span class="keyword">auto</span> data = <span class="keyword">static_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">void</span>*<span class="keyword">&gt;</span>(individualReactionHashes.data());</div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> sizeInBytes = individualReactionHashes.size() * <span class="keyword">sizeof</span>(uint64_t);</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> <span class="keywordflow">return</span> XXHash64::hash(data, sizeInBytes, seed);</div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span> }</div>
</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"> 723</span> </div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> ReactionT&gt;</div>
<div class="foldopen" id="foldopen00725" data-start="{" data-end="}">
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"><a class="line" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a1596de3439735a45ac344fa85ace6c82"> 725</a></span> std::unordered_set&lt;fourdst::atomic::Species&gt; <a class="code hl_function" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a1596de3439735a45ac344fa85ace6c82">TemplatedReactionSet&lt;ReactionT&gt;::getReactionSetSpecies</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"> 726</span> std::unordered_set&lt;fourdst::atomic::Species&gt; species;</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a> : <a class="code hl_variable" href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">m_reactions</a>) {</div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"> 728</span> <span class="keyword">const</span> <span class="keyword">auto</span> reactionSpecies = <a class="code hl_namespace" href="namespacegridfire_1_1reaction.html">reaction</a>.all_species();</div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"> 729</span> species.insert(reactionSpecies.begin(), reactionSpecies.end());</div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"> 730</span> }</div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"> 731</span> <span class="keywordflow">return</span> species;</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"> 732</span> }</div>
</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"> 733</span>}</div>
</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span> </div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a019b721d83741acdb16036f00739f87c"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a019b721d83741acdb16036f00739f87c">gridfire::reaction::LogicalReaction::calculate_rate</a></div><div class="ttdeci">T calculate_rate(const T T9) const</div><div class="ttdoc">Template implementation for calculating the total reaction rate.</div><div class="ttdef"><b>Definition</b> <a href="#l00381">reaction.h:381</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a054994f733b44293b4d79f3a9b207560"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a054994f733b44293b4d79f3a9b207560">gridfire::reaction::LogicalReaction::end</a></div><div class="ttdeci">auto end() const</div><div class="ttdef"><b>Definition</b> <a href="#l00358">reaction.h:358</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a10cbea11653524dae2f7eafb5c22c90f"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a10cbea11653524dae2f7eafb5c22c90f">gridfire::reaction::LogicalReaction::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const LogicalReaction &amp;r)</div><div class="ttdef"><b>Definition</b> <a href="#l00362">reaction.h:362</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a14a24cb8ea25a1514134acc51197f1de"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a14a24cb8ea25a1514134acc51197f1de">gridfire::reaction::LogicalReaction::add_reaction</a></div><div class="ttdeci">void add_reaction(const Reaction &amp;reaction)</div><div class="ttdoc">Adds another Reaction source to this logical reaction.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00171">reaction.cpp:171</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a1d2fb3b6a6a1860ace98b32447d1dd1b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a1d2fb3b6a6a1860ace98b32447d1dd1b">gridfire::reaction::LogicalReaction::calculate_rate</a></div><div class="ttdeci">double calculate_rate(const double T9) const override</div><div class="ttdoc">Calculates the total reaction rate by summing all source rates.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00193">reaction.cpp:193</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a4ae3806e5e1a802b86a6de292d043476"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a4ae3806e5e1a802b86a6de292d043476">gridfire::reaction::LogicalReaction::begin</a></div><div class="ttdeci">auto begin()</div><div class="ttdef"><b>Definition</b> <a href="#l00355">reaction.h:355</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a5d410de1053f8028faed1f0d0a6083f5"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a5d410de1053f8028faed1f0d0a6083f5">gridfire::reaction::LogicalReaction::begin</a></div><div class="ttdeci">auto begin() const</div><div class="ttdef"><b>Definition</b> <a href="#l00356">reaction.h:356</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a6965906ea33ebd0d615811219d9e9537"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a6965906ea33ebd0d615811219d9e9537">gridfire::reaction::LogicalReaction::LogicalReaction</a></div><div class="ttdeci">LogicalReaction(const std::vector&lt; Reaction &gt; &amp;reactions)</div><div class="ttdoc">Constructs a LogicalReaction from a vector of Reaction objects.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00142">reaction.cpp:142</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a7fe91d24e20ebc76d612f6ad742f476f"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a7fe91d24e20ebc76d612f6ad742f476f">gridfire::reaction::LogicalReaction::m_sources</a></div><div class="ttdeci">std::vector&lt; std::string &gt; m_sources</div><div class="ttdoc">List of source labels.</div><div class="ttdef"><b>Definition</b> <a href="#l00368">reaction.h:368</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_a81f75f0085f8a5a45169f0b7240c809d"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#a81f75f0085f8a5a45169f0b7240c809d">gridfire::reaction::LogicalReaction::m_rates</a></div><div class="ttdeci">std::vector&lt; RateCoefficientSet &gt; m_rates</div><div class="ttdoc">List of rate coefficient sets from each source.</div><div class="ttdef"><b>Definition</b> <a href="#l00369">reaction.h:369</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_add094eda0e71126f8443698d7f3317f4"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#add094eda0e71126f8443698d7f3317f4">gridfire::reaction::LogicalReaction::sources</a></div><div class="ttdeci">std::vector&lt; std::string &gt; sources() const</div><div class="ttdoc">Gets the list of source labels for the aggregated rates.</div><div class="ttdef"><b>Definition</b> <a href="#l00335">reaction.h:335</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_af8d23557326e6c8499fa4919ac0bd972"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#af8d23557326e6c8499fa4919ac0bd972">gridfire::reaction::LogicalReaction::end</a></div><div class="ttdeci">auto end()</div><div class="ttdef"><b>Definition</b> <a href="#l00357">reaction.h:357</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_logical_reaction_html_afa41050855b842c63db16c94d2e9b897"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_logical_reaction.html#afa41050855b842c63db16c94d2e9b897">gridfire::reaction::LogicalReaction::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdoc">Gets the number of source rates contributing to this logical reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00329">reaction.h:329</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html">gridfire::reaction::Reaction</a></div><div class="ttdoc">Represents a single nuclear reaction from a specific data source.</div><div class="ttdef"><b>Definition</b> <a href="#l00072">reaction.h:72</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a0185c6be5465d113f25e00aee1297cd6"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a0185c6be5465d113f25e00aee1297cd6">gridfire::reaction::Reaction::m_sourceLabel</a></div><div class="ttdeci">std::string m_sourceLabel</div><div class="ttdoc">Source label for the rate data (e.g., &quot;wc12w&quot;, &quot;st08&quot;).</div><div class="ttdef"><b>Definition</b> <a href="#l00268">reaction.h:268</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a01c67726efbaa2ff8e4d6f2c965f485c"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a01c67726efbaa2ff8e4d6f2c965f485c">gridfire::reaction::Reaction::product_species</a></div><div class="ttdeci">std::unordered_set&lt; fourdst::atomic::Species &gt; product_species() const</div><div class="ttdoc">Gets a set of all unique product species.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00085">reaction.cpp:85</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a074d3cd2421fd5d0133e47f0522403e2"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a074d3cd2421fd5d0133e47f0522403e2">gridfire::reaction::Reaction::contains_product</a></div><div class="ttdeci">bool contains_product(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if the reaction involves a given species as a product.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00061">reaction.cpp:61</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a084c38181408ed5e6fa2a2dd4d0ec905"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a084c38181408ed5e6fa2a2dd4d0ec905">gridfire::reaction::Reaction::id</a></div><div class="ttdeci">std::string_view id() const</div><div class="ttdoc">Gets the unique identifier of the reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00202">reaction.h:202</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a0b0b9ac498080aae91ffd466d1ae85a9"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a0b0b9ac498080aae91ffd466d1ae85a9">gridfire::reaction::Reaction::m_reverse</a></div><div class="ttdeci">bool m_reverse</div><div class="ttdoc">Flag indicating if this is a reverse reaction rate.</div><div class="ttdef"><b>Definition</b> <a href="#l00270">reaction.h:270</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a0b543e9b0bb4a21efe4b29780d9bdf5b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a0b543e9b0bb4a21efe4b29780d9bdf5b">gridfire::reaction::Reaction::reactants</a></div><div class="ttdeci">const std::vector&lt; fourdst::atomic::Species &gt; &amp; reactants() const</div><div class="ttdoc">Gets the vector of reactant species.</div><div class="ttdef"><b>Definition</b> <a href="#l00214">reaction.h:214</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a16f9cbb6269817099d3dc07d4e63da7b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a16f9cbb6269817099d3dc07d4e63da7b">gridfire::reaction::Reaction::m_chapter</a></div><div class="ttdeci">int m_chapter</div><div class="ttdoc">Chapter number from the REACLIB database, defining the reaction structure.</div><div class="ttdef"><b>Definition</b> <a href="#l00264">reaction.h:264</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a1d3c8ab6d55155f9a21ad80ed8b9ef97"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a1d3c8ab6d55155f9a21ad80ed8b9ef97">gridfire::reaction::Reaction::num_species</a></div><div class="ttdeci">size_t num_species() const</div><div class="ttdoc">Gets the number of unique species involved in the reaction.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00108">reaction.cpp:108</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a2b05ab608187216fc751bd2e42e8b7d8"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a2b05ab608187216fc751bd2e42e8b7d8">gridfire::reaction::Reaction::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Reaction &amp;r)</div><div class="ttdef"><b>Definition</b> <a href="#l00256">reaction.h:256</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a2f1c115a99bc7c477a2e858ff18b1b51"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a2f1c115a99bc7c477a2e858ff18b1b51">gridfire::reaction::Reaction::operator!=</a></div><div class="ttdeci">bool operator!=(const Reaction &amp;other) const</div><div class="ttdoc">Compares this reaction with another for inequality.</div><div class="ttdef"><b>Definition</b> <a href="#l00246">reaction.h:246</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a410e2ab0784ad751f82bbe55be603db0"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a410e2ab0784ad751f82bbe55be603db0">gridfire::reaction::Reaction::sourceLabel</a></div><div class="ttdeci">std::string_view sourceLabel() const</div><div class="ttdoc">Gets the source label for the rate data.</div><div class="ttdef"><b>Definition</b> <a href="#l00132">reaction.h:132</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a4b5607ed413acdf29539b8a57461e49e"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a4b5607ed413acdf29539b8a57461e49e">gridfire::reaction::Reaction::m_products</a></div><div class="ttdeci">std::vector&lt; fourdst::atomic::Species &gt; m_products</div><div class="ttdoc">Products of the reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00267">reaction.h:267</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a59122a2898bb9af640cc3e9aeb49028b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a59122a2898bb9af640cc3e9aeb49028b">gridfire::reaction::Reaction::m_qValue</a></div><div class="ttdeci">double m_qValue</div><div class="ttdoc">Q-value of the reaction in MeV.</div><div class="ttdef"><b>Definition</b> <a href="#l00265">reaction.h:265</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a5c685e5a736b51799e5b9f6746c4126b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a5c685e5a736b51799e5b9f6746c4126b">gridfire::reaction::Reaction::m_id</a></div><div class="ttdeci">std::string m_id</div><div class="ttdoc">Unique identifier for the reaction (e.g., &quot;h1+h1=&gt;h2+e+nu&quot;).</div><div class="ttdef"><b>Definition</b> <a href="#l00262">reaction.h:262</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a5cb438adfefb640e4bc58e09053bd629"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a5cb438adfefb640e4bc58e09053bd629">gridfire::reaction::Reaction::chapter</a></div><div class="ttdeci">int chapter() const</div><div class="ttdoc">Gets the REACLIB chapter number.</div><div class="ttdef"><b>Definition</b> <a href="#l00126">reaction.h:126</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a6124aa9fc2306349e1dd879a37923248"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a6124aa9fc2306349e1dd879a37923248">gridfire::reaction::Reaction::m_peName</a></div><div class="ttdeci">std::string m_peName</div><div class="ttdoc">Name of the reaction in (projectile, ejectile) notation (e.g. &quot;p(p,g)d&quot;).</div><div class="ttdef"><b>Definition</b> <a href="#l00263">reaction.h:263</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a648b9ed6108bed2469dc028fb7e351af"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a648b9ed6108bed2469dc028fb7e351af">gridfire::reaction::Reaction::calculate_rate</a></div><div class="ttdeci">T calculate_rate(const T T9) const</div><div class="ttdoc">Template implementation for calculating the reaction rate.</div><div class="ttdef"><b>Definition</b> <a href="#l00281">reaction.h:281</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a6e2ff61b9e8409f2a561663628b8ce02"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a6e2ff61b9e8409f2a561663628b8ce02">gridfire::reaction::Reaction::products</a></div><div class="ttdeci">const std::vector&lt; fourdst::atomic::Species &gt; &amp; products() const</div><div class="ttdoc">Gets the vector of product species.</div><div class="ttdef"><b>Definition</b> <a href="#l00220">reaction.h:220</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a7044d0a1d59d85502ce554e4ec2167e4"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a7044d0a1d59d85502ce554e4ec2167e4">gridfire::reaction::Reaction::m_logger</a></div><div class="ttdeci">quill::Logger * m_logger</div><div class="ttdef"><b>Definition</b> <a href="#l00261">reaction.h:261</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a78f42664cc957e266b6cf15fda09be97"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a78f42664cc957e266b6cf15fda09be97">gridfire::reaction::Reaction::peName</a></div><div class="ttdeci">virtual std::string_view peName() const</div><div class="ttdoc">Gets the reaction name in (projectile, ejectile) notation.</div><div class="ttdef"><b>Definition</b> <a href="#l00120">reaction.h:120</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a7dc8fda87e0581fde6da0a81cf4d7224"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a7dc8fda87e0581fde6da0a81cf4d7224">gridfire::reaction::Reaction::all_species</a></div><div class="ttdeci">std::unordered_set&lt; fourdst::atomic::Species &gt; all_species() const</div><div class="ttdoc">Gets a set of all unique species involved in the reaction.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00070">reaction.cpp:70</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a7dff19d387e771d96c26e98d75ee9d5c"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a7dff19d387e771d96c26e98d75ee9d5c">gridfire::reaction::Reaction::Reaction</a></div><div class="ttdeci">Reaction(const std::string_view id, const std::string_view peName, const int chapter, const std::vector&lt; fourdst::atomic::Species &gt; &amp;reactants, const std::vector&lt; fourdst::atomic::Species &gt; &amp;products, const double qValue, const std::string_view label, const RateCoefficientSet &amp;sets, const bool reverse=false)</div><div class="ttdoc">Constructs a Reaction object.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00019">reaction.cpp:19</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a855ea65e4b62fb0cddc550424a4bc923"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a855ea65e4b62fb0cddc550424a4bc923">gridfire::reaction::Reaction::reactant_species</a></div><div class="ttdeci">std::unordered_set&lt; fourdst::atomic::Species &gt; reactant_species() const</div><div class="ttdoc">Gets a set of all unique reactant species.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00077">reaction.cpp:77</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a85968076e686e67763f4fdf4f72a892e"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a85968076e686e67763f4fdf4f72a892e">gridfire::reaction::Reaction::rateCoefficients</a></div><div class="ttdeci">const RateCoefficientSet &amp; rateCoefficients() const</div><div class="ttdoc">Gets the set of rate coefficients.</div><div class="ttdef"><b>Definition</b> <a href="#l00138">reaction.h:138</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_a87a065b3c7806bcdb5eadb7de2978a11"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#a87a065b3c7806bcdb5eadb7de2978a11">gridfire::reaction::Reaction::m_reactants</a></div><div class="ttdeci">std::vector&lt; fourdst::atomic::Species &gt; m_reactants</div><div class="ttdoc">Reactants of the reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00266">reaction.h:266</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_aa1d71e38fc55ae691dbb9ec459a612a5"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#aa1d71e38fc55ae691dbb9ec459a612a5">gridfire::reaction::Reaction::excess_energy</a></div><div class="ttdeci">double excess_energy() const</div><div class="ttdoc">Calculates the excess energy from the mass difference of reactants and products.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00123">reaction.cpp:123</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_aa61a9a024d7c4ff66a351ccd0277ec72"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#aa61a9a024d7c4ff66a351ccd0277ec72">gridfire::reaction::Reaction::m_rateCoefficients</a></div><div class="ttdeci">RateCoefficientSet m_rateCoefficients</div><div class="ttdoc">The seven rate coefficients.</div><div class="ttdef"><b>Definition</b> <a href="#l00269">reaction.h:269</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_aa67d05dfabf007c1acad34052d9a1dba"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#aa67d05dfabf007c1acad34052d9a1dba">gridfire::reaction::Reaction::is_reverse</a></div><div class="ttdeci">bool is_reverse() const</div><div class="ttdoc">Checks if this is a reverse reaction rate.</div><div class="ttdef"><b>Definition</b> <a href="#l00226">reaction.h:226</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_aaf0c94db6536b4a9ac1ec08a5c8f01ac"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#aaf0c94db6536b4a9ac1ec08a5c8f01ac">gridfire::reaction::Reaction::stoichiometry</a></div><div class="ttdeci">int stoichiometry(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Calculates the stoichiometric coefficient for a given species.</div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_ab1860df84843be70f97469761e11ab6a"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#ab1860df84843be70f97469761e11ab6a">gridfire::reaction::Reaction::~Reaction</a></div><div class="ttdeci">virtual ~Reaction()=default</div><div class="ttdoc">Virtual destructor.</div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_ab92785f331a446e51a0960b75d60b37b"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#ab92785f331a446e51a0960b75d60b37b">gridfire::reaction::Reaction::contains</a></div><div class="ttdeci">bool contains(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if the reaction involves a given species as a reactant or product.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00047">reaction.cpp:47</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_abbe243affa61ba9b2cd2a7b905cd5e45"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#abbe243affa61ba9b2cd2a7b905cd5e45">gridfire::reaction::Reaction::contains_reactant</a></div><div class="ttdeci">bool contains_reactant(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if the reaction involves a given species as a reactant.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00052">reaction.cpp:52</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_abda0b4e4313e6d4ba57acf37d5976fb8"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#abda0b4e4313e6d4ba57acf37d5976fb8">gridfire::reaction::Reaction::qValue</a></div><div class="ttdeci">double qValue() const</div><div class="ttdoc">Gets the Q-value of the reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00208">reaction.h:208</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_ac426457cf0a54a15b206549422083bac"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#ac426457cf0a54a15b206549422083bac">gridfire::reaction::Reaction::operator==</a></div><div class="ttdeci">bool operator==(const Reaction &amp;other) const</div><div class="ttdoc">Compares this reaction with another for equality based on their IDs.</div><div class="ttdef"><b>Definition</b> <a href="#l00239">reaction.h:239</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_ad359c06d7196c1a7a955a7b66a51dbe3"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#ad359c06d7196c1a7a955a7b66a51dbe3">gridfire::reaction::Reaction::stoichiometry</a></div><div class="ttdeci">std::unordered_map&lt; fourdst::atomic::Species, int &gt; stoichiometry() const</div><div class="ttdoc">Gets a map of all species to their stoichiometric coefficients.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00112">reaction.cpp:112</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_ad81e9b2a1773470059ca6989c60556ec"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#ad81e9b2a1773470059ca6989c60556ec">gridfire::reaction::Reaction::calculate_rate</a></div><div class="ttdeci">virtual double calculate_rate(const double T9) const</div><div class="ttdoc">Calculates the reaction rate for a given temperature.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00039">reaction.cpp:39</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_reaction_html_af6c20e6d03a2d9f87632f71a90b88cb5"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_reaction.html#af6c20e6d03a2d9f87632f71a90b88cb5">gridfire::reaction::Reaction::hash</a></div><div class="ttdeci">uint64_t hash(uint64_t seed=0) const</div><div class="ttdoc">Computes a hash for the reaction based on its ID.</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00136">reaction.cpp:136</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html">gridfire::reaction::TemplatedReactionSet</a></div><div class="ttdef"><b>Definition</b> <a href="#l00402">reaction.h:402</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a05f71d318564d880079fd6c96d59ae21"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a05f71d318564d880079fd6c96d59ae21">gridfire::reaction::TemplatedReactionSet::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Removes all reactions from the set.</div><div class="ttdef"><b>Definition</b> <a href="#l00640">reaction.h:640</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a128660f5fbc67054f73811ed2982d24d"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a128660f5fbc67054f73811ed2982d24d">gridfire::reaction::TemplatedReactionSet::operator==</a></div><div class="ttdeci">bool operator==(const TemplatedReactionSet &amp;other) const</div><div class="ttdoc">Compares this set with another for equality.</div><div class="ttdef"><b>Definition</b> <a href="#l00694">reaction.h:694</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a13e003529a17fa61aafdce3abd2dc773"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a13e003529a17fa61aafdce3abd2dc773">gridfire::reaction::TemplatedReactionSet::operator[]</a></div><div class="ttdeci">const ReactionT &amp; operator[](const std::string_view &amp;id) const</div><div class="ttdoc">Accesses a reaction by its ID.</div><div class="ttdef"><b>Definition</b> <a href="#l00685">reaction.h:685</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a1596de3439735a45ac344fa85ace6c82"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a1596de3439735a45ac344fa85ace6c82">gridfire::reaction::TemplatedReactionSet::getReactionSetSpecies</a></div><div class="ttdeci">std::unordered_set&lt; fourdst::atomic::Species &gt; getReactionSetSpecies() const</div><div class="ttdef"><b>Definition</b> <a href="#l00725">reaction.h:725</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a272800016c83f259f5c6a92dc797353c"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a272800016c83f259f5c6a92dc797353c">gridfire::reaction::TemplatedReactionSet::hash</a></div><div class="ttdeci">uint64_t hash(uint64_t seed=0) const</div><div class="ttdoc">Computes a hash for the entire set.</div><div class="ttdef"><b>Definition</b> <a href="#l00707">reaction.h:707</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a339dbbf883b6ae20e33d9782d8376bcf"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a339dbbf883b6ae20e33d9782d8376bcf">gridfire::reaction::TemplatedReactionSet::add_reaction</a></div><div class="ttdeci">void add_reaction(ReactionT reaction)</div><div class="ttdoc">Adds a reaction to the set.</div><div class="ttdef"><b>Definition</b> <a href="#l00600">reaction.h:600</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a3a4c2448865580001fd3c797b9f56979"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a3a4c2448865580001fd3c797b9f56979">gridfire::reaction::TemplatedReactionSet&lt; Reaction &gt;::m_reactionNameMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, Reaction &gt; m_reactionNameMap</div><div class="ttdef"><b>Definition</b> <a href="#l00552">reaction.h:552</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a443ec5d7138764b32975232e13071ccf"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a443ec5d7138764b32975232e13071ccf">gridfire::reaction::TemplatedReactionSet::contains_product</a></div><div class="ttdeci">bool contains_product(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if any reaction in the set contains the given species as a product.</div><div class="ttdef"><b>Definition</b> <a href="#l00666">reaction.h:666</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a47265467dbf2c324ce3e4c85ebbaa6a7"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a47265467dbf2c324ce3e4c85ebbaa6a7">gridfire::reaction::TemplatedReactionSet::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const TemplatedReactionSet&lt; ReactionT &gt; &amp;r)</div><div class="ttdef"><b>Definition</b> <a href="#l00531">reaction.h:531</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a54c8cd7c34564277fe28eefc623f666e"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a54c8cd7c34564277fe28eefc623f666e">gridfire::reaction::TemplatedReactionSet::TemplatedReactionSet</a></div><div class="ttdeci">TemplatedReactionSet(std::vector&lt; ReactionT &gt; reactions)</div><div class="ttdoc">Constructs a ReactionSet from a vector of reactions.</div><div class="ttdef"><b>Definition</b> <a href="#l00562">reaction.h:562</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a5962968fe478c79250e9d88d80a87600"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5962968fe478c79250e9d88d80a87600">gridfire::reaction::TemplatedReactionSet&lt; Reaction &gt;::m_reactions</a></div><div class="ttdeci">std::vector&lt; Reaction &gt; m_reactions</div><div class="ttdef"><b>Definition</b> <a href="#l00550">reaction.h:550</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a5fda3af5ea9ae0ecfb60a61a9e07f5b4"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a5fda3af5ea9ae0ecfb60a61a9e07f5b4">gridfire::reaction::TemplatedReactionSet&lt; Reaction &gt;::m_id</a></div><div class="ttdeci">std::string m_id</div><div class="ttdef"><b>Definition</b> <a href="#l00551">reaction.h:551</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a638067a3e55ec2a422206055881aaaad"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a638067a3e55ec2a422206055881aaaad">gridfire::reaction::TemplatedReactionSet::operator[]</a></div><div class="ttdeci">const ReactionT &amp; operator[](size_t index) const</div><div class="ttdoc">Accesses a reaction by its index.</div><div class="ttdef"><b>Definition</b> <a href="#l00676">reaction.h:676</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a6a1dc3c56690386ae9f6aa5c2aa37ba2"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a6a1dc3c56690386ae9f6aa5c2aa37ba2">gridfire::reaction::TemplatedReactionSet::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdoc">Gets the number of reactions in the set.</div><div class="ttdef"><b>Definition</b> <a href="#l00453">reaction.h:453</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a7777ecd0f594fdf66ce57d22610fad3c"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a7777ecd0f594fdf66ce57d22610fad3c">gridfire::reaction::TemplatedReactionSet::contains</a></div><div class="ttdeci">bool contains(const std::string_view &amp;id) const</div><div class="ttdoc">Checks if the set contains a reaction with the given ID.</div><div class="ttdef"><b>Definition</b> <a href="#l00620">reaction.h:620</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a87257704009fcd57b553f86cdaacb597"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a87257704009fcd57b553f86cdaacb597">gridfire::reaction::TemplatedReactionSet::begin</a></div><div class="ttdeci">auto begin()</div><div class="ttdef"><b>Definition</b> <a href="#l00525">reaction.h:525</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_a89c4c5af12aef7fbfc24316c88237e22"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#a89c4c5af12aef7fbfc24316c88237e22">gridfire::reaction::TemplatedReactionSet::remove_reaction</a></div><div class="ttdeci">void remove_reaction(const ReactionT &amp;reaction)</div><div class="ttdoc">Removes a reaction from the set.</div><div class="ttdef"><b>Definition</b> <a href="#l00607">reaction.h:607</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_aac76ec883b4ecebb2a94b2485dae7105"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aac76ec883b4ecebb2a94b2485dae7105">gridfire::reaction::TemplatedReactionSet::operator!=</a></div><div class="ttdeci">bool operator!=(const TemplatedReactionSet &amp;other) const</div><div class="ttdoc">Compares this set with another for inequality.</div><div class="ttdef"><b>Definition</b> <a href="#l00702">reaction.h:702</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ab8cb5fbce6b819b9e4e44b0c2db54c6f"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ab8cb5fbce6b819b9e4e44b0c2db54c6f">gridfire::reaction::TemplatedReactionSet::contains</a></div><div class="ttdeci">bool contains(const Reaction &amp;reaction) const</div><div class="ttdoc">Checks if the set contains the given reaction.</div><div class="ttdef"><b>Definition</b> <a href="#l00630">reaction.h:630</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ac128da7417955ef8c5cb2bde5a1293c9"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac128da7417955ef8c5cb2bde5a1293c9">gridfire::reaction::TemplatedReactionSet::end</a></div><div class="ttdeci">auto end() const</div><div class="ttdef"><b>Definition</b> <a href="#l00528">reaction.h:528</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ac42606350d7557106f7954b1f114c128"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac42606350d7557106f7954b1f114c128">gridfire::reaction::TemplatedReactionSet::contains_reactant</a></div><div class="ttdeci">bool contains_reactant(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if any reaction in the set contains the given species as a reactant.</div><div class="ttdef"><b>Definition</b> <a href="#l00656">reaction.h:656</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ac510dce14a6033551318c0c7b241f3c8"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac510dce14a6033551318c0c7b241f3c8">gridfire::reaction::TemplatedReactionSet::operator=</a></div><div class="ttdeci">TemplatedReactionSet&lt; ReactionT &gt; &amp; operator=(const TemplatedReactionSet&lt; ReactionT &gt; &amp;other)</div><div class="ttdoc">Copy assignment operator.</div><div class="ttdef"><b>Definition</b> <a href="#l00590">reaction.h:590</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ac6fcc5b08938b73ff6dac680e5bf28d9"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ac6fcc5b08938b73ff6dac680e5bf28d9">gridfire::reaction::TemplatedReactionSet&lt; Reaction &gt;::m_logger</a></div><div class="ttdeci">quill::Logger * m_logger</div><div class="ttdef"><b>Definition</b> <a href="#l00549">reaction.h:549</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ad19adbee44a71559a53785e3b1fc7e92"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad19adbee44a71559a53785e3b1fc7e92">gridfire::reaction::TemplatedReactionSet::end</a></div><div class="ttdeci">auto end()</div><div class="ttdef"><b>Definition</b> <a href="#l00527">reaction.h:527</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ad870856d206d93f27125c88d44ff9e34"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ad870856d206d93f27125c88d44ff9e34">gridfire::reaction::TemplatedReactionSet::contains_species</a></div><div class="ttdeci">bool contains_species(const fourdst::atomic::Species &amp;species) const</div><div class="ttdoc">Checks if any reaction in the set involves the given species.</div><div class="ttdef"><b>Definition</b> <a href="#l00646">reaction.h:646</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_ada1d1880be53b81a9ed7b966fd6ade5a"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#ada1d1880be53b81a9ed7b966fd6ade5a">gridfire::reaction::TemplatedReactionSet::TemplatedReactionSet</a></div><div class="ttdeci">TemplatedReactionSet(const TemplatedReactionSet&lt; ReactionT &gt; &amp;other)</div><div class="ttdoc">Copy constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00577">reaction.h:577</a></div></div>
<div class="ttc" id="aclassgridfire_1_1reaction_1_1_templated_reaction_set_html_aee42bb25973dadc6629bdb5cb1db6369"><div class="ttname"><a href="classgridfire_1_1reaction_1_1_templated_reaction_set.html#aee42bb25973dadc6629bdb5cb1db6369">gridfire::reaction::TemplatedReactionSet::begin</a></div><div class="ttdeci">auto begin() const</div><div class="ttdef"><b>Definition</b> <a href="#l00526">reaction.h:526</a></div></div>
<div class="ttc" id="anamespacegridfire_1_1reaction_html"><div class="ttname"><a href="namespacegridfire_1_1reaction.html">gridfire::reaction</a></div><div class="ttdef"><b>Definition</b> <a href="#l00025">reaction.h:25</a></div></div>
<div class="ttc" id="anamespacegridfire_1_1reaction_html_aa86f08712565f278adacc7cd2361eb31"><div class="ttname"><a href="namespacegridfire_1_1reaction.html#aa86f08712565f278adacc7cd2361eb31">gridfire::reaction::LogicalReactionSet</a></div><div class="ttdeci">TemplatedReactionSet&lt; LogicalReaction &gt; LogicalReactionSet</div><div class="ttdoc">A set of logical reactions.</div><div class="ttdef"><b>Definition</b> <a href="#l00557">reaction.h:557</a></div></div>
<div class="ttc" id="anamespacegridfire_1_1reaction_html_abfcfafc0cda0c3ed56930a12e7ead67f"><div class="ttname"><a href="namespacegridfire_1_1reaction.html#abfcfafc0cda0c3ed56930a12e7ead67f">gridfire::reaction::packReactionSetToLogicalReactionSet</a></div><div class="ttdeci">LogicalReactionSet packReactionSetToLogicalReactionSet(const ReactionSet &amp;reactionSet)</div><div class="ttdef"><b>Definition</b> <a href="reaction_8cpp_source.html#l00201">reaction.cpp:201</a></div></div>
<div class="ttc" id="anamespacegridfire_1_1reaction_html_ad838ce3fb6cc02c3fd90b924a0dd91b1"><div class="ttname"><a href="namespacegridfire_1_1reaction.html#ad838ce3fb6cc02c3fd90b924a0dd91b1">gridfire::reaction::ReactionSet</a></div><div class="ttdeci">TemplatedReactionSet&lt; Reaction &gt; ReactionSet</div><div class="ttdoc">A set of reactions, typically from a single source like REACLIB.</div><div class="ttdef"><b>Definition</b> <a href="#l00556">reaction.h:556</a></div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html">gridfire::reaction::RateCoefficientSet</a></div><div class="ttdoc">Holds the seven coefficients for the REACLIB rate equation.</div><div class="ttdef"><b>Definition</b> <a href="#l00033">reaction.h:33</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_a2a9316d19bc2e8bf0a7872eb6fe8a53f"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2a9316d19bc2e8bf0a7872eb6fe8a53f">gridfire::reaction::RateCoefficientSet::a2</a></div><div class="ttdeci">double a2</div><div class="ttdoc">Coefficient a2.</div><div class="ttdef"><b>Definition</b> <a href="#l00036">reaction.h:36</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_a2fa6b65e300dcd181222b743c2b3d6ed"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a2fa6b65e300dcd181222b743c2b3d6ed">gridfire::reaction::RateCoefficientSet::a0</a></div><div class="ttdeci">double a0</div><div class="ttdoc">Coefficient a0.</div><div class="ttdef"><b>Definition</b> <a href="#l00034">reaction.h:34</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_a31a92f95a27e4430209dfc2bdfa5c40f"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a31a92f95a27e4430209dfc2bdfa5c40f">gridfire::reaction::RateCoefficientSet::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const RateCoefficientSet &amp;r)</div><div class="ttdoc">Overloads the stream insertion operator for easy printing.</div><div class="ttdef"><b>Definition</b> <a href="#l00048">reaction.h:48</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_a3d047485ebb57d6c763adfe4aae493b1"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a3d047485ebb57d6c763adfe4aae493b1">gridfire::reaction::RateCoefficientSet::a3</a></div><div class="ttdeci">double a3</div><div class="ttdoc">Coefficient a3.</div><div class="ttdef"><b>Definition</b> <a href="#l00037">reaction.h:37</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_a8c79db4e649b4eb1d29c43ebe4e95458"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#a8c79db4e649b4eb1d29c43ebe4e95458">gridfire::reaction::RateCoefficientSet::a5</a></div><div class="ttdeci">double a5</div><div class="ttdoc">Coefficient a5.</div><div class="ttdef"><b>Definition</b> <a href="#l00039">reaction.h:39</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_ace9dbd928e179784e47eaa108ce8d721"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ace9dbd928e179784e47eaa108ce8d721">gridfire::reaction::RateCoefficientSet::a1</a></div><div class="ttdeci">double a1</div><div class="ttdoc">Coefficient a1.</div><div class="ttdef"><b>Definition</b> <a href="#l00035">reaction.h:35</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_adf8e6ed7f91cb9e15d1469a808b1877a"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#adf8e6ed7f91cb9e15d1469a808b1877a">gridfire::reaction::RateCoefficientSet::a6</a></div><div class="ttdeci">double a6</div><div class="ttdoc">Coefficient a6.</div><div class="ttdef"><b>Definition</b> <a href="#l00040">reaction.h:40</a></div></div>
<div class="ttc" id="astructgridfire_1_1reaction_1_1_rate_coefficient_set_html_ae57b2eac71cb4ed9947f40c9cb8fc3ca"><div class="ttname"><a href="structgridfire_1_1reaction_1_1_rate_coefficient_set.html#ae57b2eac71cb4ed9947f40c9cb8fc3ca">gridfire::reaction::RateCoefficientSet::a4</a></div><div class="ttdeci">double a4</div><div class="ttdoc">Coefficient a4.</div><div class="ttdef"><b>Definition</b> <a href="#l00038">reaction.h:38</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_fc4c7f03e1a69a98c370fae55a743828.html">network</a></li><li class="navelem"><a class="el" href="dir_5cccfa813acdf3744b542715860d37b2.html">include</a></li><li class="navelem"><a class="el" href="dir_2a1262ef5950eb718393488a3eb5aa9f.html">gridfire</a></li><li class="navelem"><a class="el" href="dir_3c60707488650cd3ec07ac1739eb797f.html">reaction</a></li><li class="navelem"><a class="el" href="reaction_8h.html">reaction.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>