Skip to content

Commit

Permalink
Deploying to main from @ terrapower/armi@a4914b4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Oct 30, 2024
1 parent 4fab63d commit 82e48b1
Show file tree
Hide file tree
Showing 48 changed files with 526 additions and 542 deletions.
2 changes: 1 addition & 1 deletion armi/.apidocs/armi.reactor.geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
yaml and/or the database nicely.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="armi.reactor.geometry.SymmetryType.VALID_SYMMETRY">
<span class="sig-name descname"><span class="pre">VALID_SYMMETRY</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.FULL_CORE:</span> <span class="pre">1&gt;,</span> <span class="pre">&lt;BoundaryType.NO_SYMMETRY:</span> <span class="pre">0&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.THIRD_CORE:</span> <span class="pre">3&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.SIXTEENTH_CORE:</span> <span class="pre">16&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.SIXTEENTH_CORE:</span> <span class="pre">16&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.FULL_CORE:</span> <span class="pre">1&gt;,</span> <span class="pre">&lt;BoundaryType.NO_SYMMETRY:</span> <span class="pre">0&gt;,</span> <span class="pre">True)}</span></em><a class="headerlink" href="#armi.reactor.geometry.SymmetryType.VALID_SYMMETRY" title="Permalink to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">VALID_SYMMETRY</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.SIXTEENTH_CORE:</span> <span class="pre">16&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.THIRD_CORE:</span> <span class="pre">3&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.FULL_CORE:</span> <span class="pre">1&gt;,</span> <span class="pre">&lt;BoundaryType.NO_SYMMETRY:</span> <span class="pre">0&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.QUARTER_CORE:</span> <span class="pre">4&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">True),</span> <span class="pre">(&lt;DomainType.SIXTEENTH_CORE:</span> <span class="pre">16&gt;,</span> <span class="pre">&lt;BoundaryType.REFLECTIVE:</span> <span class="pre">2&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.FULL_CORE:</span> <span class="pre">1&gt;,</span> <span class="pre">&lt;BoundaryType.NO_SYMMETRY:</span> <span class="pre">0&gt;,</span> <span class="pre">False),</span> <span class="pre">(&lt;DomainType.EIGHTH_CORE:</span> <span class="pre">8&gt;,</span> <span class="pre">&lt;BoundaryType.PERIODIC:</span> <span class="pre">1&gt;,</span> <span class="pre">False)}</span></em><a class="headerlink" href="#armi.reactor.geometry.SymmetryType.VALID_SYMMETRY" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="py method">
Expand Down
2 changes: 1 addition & 1 deletion armi/.apidocs/armi.reactor.tests.test_assemblies.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="armi.reactor.tests.test_assemblies.makeTestAssembly">
<span class="sig-prename descclassname"><span class="pre">armi.reactor.tests.test_assemblies.</span></span><span class="sig-name descname"><span class="pre">makeTestAssembly</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">numBlocks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">assemNum</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">spatialGrid=&lt;HexGrid</span> <span class="pre">--</span> <span class="pre">140539796646112</span> <span class="pre">Bounds:</span>&#160;&#160; <span class="pre">None</span>&#160;&#160; <span class="pre">None</span>&#160;&#160; <span class="pre">None</span> <span class="pre">Steps:</span>&#160;&#160; <span class="pre">[0.8660254</span> <span class="pre">0.</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="pre">0.</span>&#160;&#160;&#160;&#160;&#160;&#160; <span class="pre">]</span>&#160;&#160; <span class="pre">[0.5</span> <span class="pre">1.</span>&#160; <span class="pre">0.</span> <span class="pre">]</span>&#160;&#160; <span class="pre">[0.</span> <span class="pre">0.</span> <span class="pre">0.]</span> <span class="pre">Anchor:</span> <span class="pre">None</span> <span class="pre">Offset:</span> <span class="pre">[0.</span> <span class="pre">0.</span> <span class="pre">0.]</span> <span class="pre">Num</span> <span class="pre">Locations:</span> <span class="pre">2500&gt;</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">r=None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/armi/reactor/tests/test_assemblies.html#makeTestAssembly"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#armi.reactor.tests.test_assemblies.makeTestAssembly" title="Permalink to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">armi.reactor.tests.test_assemblies.</span></span><span class="sig-name descname"><span class="pre">makeTestAssembly</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">numBlocks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">assemNum</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">spatialGrid=&lt;HexGrid</span> <span class="pre">--</span> <span class="pre">139810186826128</span> <span class="pre">Bounds:</span>&#160;&#160; <span class="pre">None</span>&#160;&#160; <span class="pre">None</span>&#160;&#160; <span class="pre">None</span> <span class="pre">Steps:</span>&#160;&#160; <span class="pre">[0.8660254</span> <span class="pre">0.</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="pre">0.</span>&#160;&#160;&#160;&#160;&#160;&#160; <span class="pre">]</span>&#160;&#160; <span class="pre">[0.5</span> <span class="pre">1.</span>&#160; <span class="pre">0.</span> <span class="pre">]</span>&#160;&#160; <span class="pre">[0.</span> <span class="pre">0.</span> <span class="pre">0.]</span> <span class="pre">Anchor:</span> <span class="pre">None</span> <span class="pre">Offset:</span> <span class="pre">[0.</span> <span class="pre">0.</span> <span class="pre">0.]</span> <span class="pre">Num</span> <span class="pre">Locations:</span> <span class="pre">2500&gt;</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">r=None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/armi/reactor/tests/test_assemblies.html#makeTestAssembly"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#armi.reactor.tests.test_assemblies.makeTestAssembly" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="py class">
Expand Down
3 changes: 0 additions & 3 deletions armi/.apidocs/armi.utils.pathTools.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@
<dt class="sig sig-object py" id="armi.utils.pathTools.armiAbsPath">
<span class="sig-prename descclassname"><span class="pre">armi.utils.pathTools.</span></span><span class="sig-name descname"><span class="pre">armiAbsPath</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">pathParts</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/armi/utils/pathTools.html#armiAbsPath"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#armi.utils.pathTools.armiAbsPath" title="Permalink to this definition"></a></dt>
<dd><p>Convert a list of path components to an absolute path, without drive letters if possible.</p>
<p>This is mostly useful on Windows systems, where drive letters are not well defined
across systems. In these cases, it is useful to try to convert to a UNC path if
possible.</p>
</dd></dl>

<dl class="py function">
Expand Down
2 changes: 1 addition & 1 deletion armi/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 1ac5390593d6f62cf6675f4df06bd465
config: 5d6a096befbb8e95a93260373702a263
tags: 645f666f9bcd5a90fca523b33c5a78b7
17 changes: 2 additions & 15 deletions armi/_modules/armi/utils/pathTools.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,8 @@ <h1>Source code for armi.utils.pathTools</h1><div class="highlight"><pre>


<div class="viewcode-block" id="armiAbsPath"><a class="viewcode-back" href="../../../.apidocs/armi.utils.pathTools.html#armi.utils.pathTools.armiAbsPath">[docs]</a><span class="k">def</span> <span class="nf">armiAbsPath</span><span class="p">(</span><span class="o">*</span><span class="n">pathParts</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Convert a list of path components to an absolute path, without drive letters if possible.</span>

<span class="sd"> This is mostly useful on Windows systems, where drive letters are not well defined</span>
<span class="sd"> across systems. In these cases, it is useful to try to convert to a UNC path if</span>
<span class="sd"> possible.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="c1"># imported here to prevent cluster failures, unsure why this causes an error</span>
<span class="n">result</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">abspath</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="o">*</span><span class="n">pathParts</span><span class="p">))</span>
<span class="k">try</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">ccl</span> <span class="kn">import</span> <span class="n">common_operations</span>

<span class="k">return</span> <span class="n">common_operations</span><span class="o">.</span><span class="n">convert_to_unc_path</span><span class="p">(</span><span class="n">result</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="k">return</span> <span class="n">result</span></div>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Convert a list of path components to an absolute path, without drive letters if possible.&quot;&quot;&quot;</span>
<span class="k">return</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">abspath</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="o">*</span><span class="n">pathParts</span><span class="p">))</span></div>


<div class="viewcode-block" id="copyOrWarn"><a class="viewcode-back" href="../../../.apidocs/armi.utils.pathTools.html#armi.utils.pathTools.copyOrWarn">[docs]</a><span class="k">def</span> <span class="nf">copyOrWarn</span><span class="p">(</span><span class="n">fileDescription</span><span class="p">,</span> <span class="n">sourcePath</span><span class="p">,</span> <span class="n">destinationPath</span><span class="p">):</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ that it made it into the framework
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.475 seconds)
**Total running time of the script:** ( 0 minutes 0.440 seconds)


.. _sphx_glr_download_gallery_analysis_run_blockMcnpMaterialCard.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ efficient analysis.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.540 seconds)
**Total running time of the script:** ( 0 minutes 0.494 seconds)


.. _sphx_glr_download_gallery_analysis_run_hexBlockToRZConversion.py:
Expand Down
2 changes: 1 addition & 1 deletion armi/_sources/gallery/analysis/run_hexReactorToRZ.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ automatically converted to a 2-D or 3-D RZ case with conserved mass.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 3.634 seconds)
**Total running time of the script:** ( 0 minutes 3.390 seconds)


.. _sphx_glr_download_gallery_analysis_run_hexReactorToRZ.py:
Expand Down
8 changes: 4 additions & 4 deletions armi/_sources/gallery/analysis/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

Computation times
=================
**00:04.649** total execution time for **gallery_analysis** files:
**00:04.325** total execution time for **gallery_analysis** files:

+----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_gallery_analysis_run_hexReactorToRZ.py` (``run_hexReactorToRZ.py``) | 00:03.634 | 0.0 MB |
| :ref:`sphx_glr_gallery_analysis_run_hexReactorToRZ.py` (``run_hexReactorToRZ.py``) | 00:03.390 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_gallery_analysis_run_hexBlockToRZConversion.py` (``run_hexBlockToRZConversion.py``) | 00:00.540 | 0.0 MB |
| :ref:`sphx_glr_gallery_analysis_run_hexBlockToRZConversion.py` (``run_hexBlockToRZConversion.py``) | 00:00.494 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_gallery_analysis_run_blockMcnpMaterialCard.py` (``run_blockMcnpMaterialCard.py``) | 00:00.475 | 0.0 MB |
| :ref:`sphx_glr_gallery_analysis_run_blockMcnpMaterialCard.py` (``run_blockMcnpMaterialCard.py``) | 00:00.440 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Note: Thermal expansion is automatically considered with material data defined w
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.263 seconds)
**Total running time of the script:** ( 0 minutes 0.357 seconds)


.. _sphx_glr_download_gallery_framework_run_blockVolumeFractions.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ coloring the squares with the natural abundance.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.178 seconds)
**Total running time of the script:** ( 0 minutes 0.176 seconds)


.. _sphx_glr_download_gallery_framework_run_chartOfNuclides.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ rather than relying upon input files.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.419 seconds)
**Total running time of the script:** ( 0 minutes 0.408 seconds)


.. _sphx_glr_download_gallery_framework_run_computeReactionRates.py:
Expand Down
6 changes: 3 additions & 3 deletions armi/_sources/gallery/framework/run_fuelManagement.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ demonstration purposes.
=========== Input File Information ===========
=========== Reactor Cycle Information ===========
=========== Constructing Reactor and Verifying Inputs ===========
=========== Adding Composites to <Core: core id:140539788523600> ===========
=========== Adding Composites to <Core: core id:139810180524448> ===========
=========== Verifying Assembly Configurations ===========
=========== Summarizing Source of Material Data for <Core: core id:140539788523600> ===========
=========== Summarizing Source of Material Data for <Core: core id:139810180524448> ===========
=========== Applying Geometry Modifications ===========
=========== Initializing Mesh, Assembly Zones, and Nuclide Categories ===========
=========== Creating Interfaces ===========
Expand Down Expand Up @@ -139,7 +139,7 @@ demonstration purposes.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 2.924 seconds)
**Total running time of the script:** ( 0 minutes 2.837 seconds)


.. _sphx_glr_download_gallery_framework_run_fuelManagement.py:
Expand Down
2 changes: 1 addition & 1 deletion armi/_sources/gallery/framework/run_grids1_hex.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Learn more about :py:mod:`grids <armi.reactor.grids>`.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.171 seconds)
**Total running time of the script:** ( 0 minutes 0.167 seconds)


.. _sphx_glr_download_gallery_framework_run_grids1_hex.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Learn more about :py:mod:`grids <armi.reactor.grids>`.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.108 seconds)
**Total running time of the script:** ( 0 minutes 0.103 seconds)


.. _sphx_glr_download_gallery_framework_run_grids2_cartesian.py:
Expand Down
2 changes: 1 addition & 1 deletion armi/_sources/gallery/framework/run_grids3_rzt.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Learn more about :py:mod:`grids <armi.reactor.grids>`.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.112 seconds)
**Total running time of the script:** ( 0 minutes 0.108 seconds)


.. _sphx_glr_download_gallery_framework_run_grids3_rzt.py:
Expand Down
2 changes: 1 addition & 1 deletion armi/_sources/gallery/framework/run_isotxs.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ an existing binary cross section library file in :py:mod:`ISOTXS <armi.nuclearDa
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.459 seconds)
**Total running time of the script:** ( 0 minutes 0.445 seconds)


.. _sphx_glr_download_gallery_framework_run_isotxs.py:
Expand Down
Loading

0 comments on commit 82e48b1

Please sign in to comment.