<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A screening model that applies no screening effect. <ahref="classgridfire_1_1screening_1_1BareScreeningModel.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">An abstract base class for plasma screening models. <ahref="classgridfire_1_1screening_1_1ScreeningModel.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Implements the weak screening model based on the Debye-Hückel approximation. <ahref="classgridfire_1_1screening_1_1WeakScreeningModel.html#details">More...</a><br/></td></tr>
<trclass="memitem:aa82aafbc4f8c28d0a75b60798e3a7d25"id="r_aa82aafbc4f8c28d0a75b60798e3a7d25"><tdclass="memItemLeft"align="right"valign="top">enum class  </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="namespacegridfire_1_1screening.html#aa82aafbc4f8c28d0a75b60798e3a7d25">ScreeningType</a> { <aclass="el"href="namespacegridfire_1_1screening.html#aa82aafbc4f8c28d0a75b60798e3a7d25ad80b95b1abb9c8659fa4cc9d3d29bb71">BARE</a>
<trclass="memdesc:aa82aafbc4f8c28d0a75b60798e3a7d25"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Enumerates the available plasma screening models. <ahref="namespacegridfire_1_1screening.html#aa82aafbc4f8c28d0a75b60798e3a7d25">More...</a><br/></td></tr>
<trclass="memdesc:a6ca8556d27ac373e176f5b23437c416e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A factory function to select and create a screening model. <br/></td></tr>
<tdclass="memname">enum class <aclass="el"href="namespacegridfire_1_1screening.html#aa82aafbc4f8c28d0a75b60798e3a7d25">gridfire::screening::ScreeningType</a></td>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="aa82aafbc4f8c28d0a75b60798e3a7d25ad80b95b1abb9c8659fa4cc9d3d29bb71"name="aa82aafbc4f8c28d0a75b60798e3a7d25ad80b95b1abb9c8659fa4cc9d3d29bb71"></a>BARE </td><tdclass="fielddoc"><p>No screening applied. The screening factor is always 1.0. </p>
<tr><tdclass="fieldname"><aid="aa82aafbc4f8c28d0a75b60798e3a7d25a32c7d8943bec86a6d7d5e03598670ca8"name="aa82aafbc4f8c28d0a75b60798e3a7d25a32c7d8943bec86a6d7d5e03598670ca8"></a>WEAK </td><tdclass="fielddoc"><p>Weak screening model (Salpeter, 1954). </p>
<p>This model is suitable for non-degenerate, non-relativistic plasmas where the electrostatic potential energy between ions is small compared to their thermal kinetic energy. The screening enhancement factor is calculated as <code>exp(H_12)</code>.</p>
<p><b>Algorithm</b></p><oltype="1">
<li>A composition-dependent term, <code>ζ = ∑(Z_i^2 + Z_i) * Y_i</code>, is calculated, where Z_i is the charge and Y_i is the molar abundance of each species.</li>
<li>A prefactor is computed: <code>prefactor = 0.188 * sqrt(ρ / T₇³) * sqrt(ζ)</code>, where ρ is the density and T₇ is the temperature in 10^7 K.</li>
<li>For a reaction between two nuclei with charges Z₁ and Z₂, the enhancement term is <code>H_12 = prefactor * Z₁ * Z₂</code>.</li>
<li>The final screening factor is <code>exp(H_12)</code>. A special calculation is performed for the triple-alpha reaction. </li>
<p>This function returns a <code>std::unique_ptr</code> to a concrete implementation of the <code><aclass="el"href="classgridfire_1_1screening_1_1ScreeningModel.html"title="An abstract base class for plasma screening models.">ScreeningModel</a></code> abstract base class, based on the specified <code>ScreeningType</code>. This allows for easy switching between different screening prescriptions at runtime.</p>
<dlclass="section return"><dt>Returns</dt><dd>A <code>std::unique_ptr<<aclass="el"href="classgridfire_1_1screening_1_1ScreeningModel.html"title="An abstract base class for plasma screening models.">ScreeningModel</a>></code> holding an instance of the requested screening model.</dd></dl>
<p><b>Algorithm</b> The function uses a <code>switch</code> statement to determine which concrete model to instantiate. If the provided <code>type</code> does not match a known case, it defaults to creating a <code><aclass="el"href="classgridfire_1_1screening_1_1BareScreeningModel.html"title="A screening model that applies no screening effect.">BareScreeningModel</a></code> to ensure safe behavior.</p>
<li>A non-null <code>std::unique_ptr<<aclass="el"href="classgridfire_1_1screening_1_1ScreeningModel.html"title="An abstract base class for plasma screening models.">ScreeningModel</a>></code> is always returned.</li>
<divclass="ttc"id="anamespacegridfire_1_1screening_html_a6ca8556d27ac373e176f5b23437c416e"><divclass="ttname"><ahref="namespacegridfire_1_1screening.html#a6ca8556d27ac373e176f5b23437c416e">gridfire::screening::selectScreeningModel</a></div><divclass="ttdeci">std::unique_ptr< ScreeningModel > selectScreeningModel(ScreeningType type)</div><divclass="ttdoc">A factory function to select and create a screening model.</div><divclass="ttdef"><b>Definition</b> screening_types.cpp:9</div></div>
<divclass="ttc"id="anamespacegridfire_1_1screening_html_aa82aafbc4f8c28d0a75b60798e3a7d25a32c7d8943bec86a6d7d5e03598670ca8"><divclass="ttname"><ahref="namespacegridfire_1_1screening.html#aa82aafbc4f8c28d0a75b60798e3a7d25a32c7d8943bec86a6d7d5e03598670ca8">gridfire::screening::ScreeningType::WEAK</a></div><divclass="ttdeci">@ WEAK</div><divclass="ttdoc">Weak screening model (Salpeter, 1954).</div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>