Skip to content

Commit

Permalink
Add unit test and update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehader committed Oct 5, 2022
1 parent 88e5719 commit 0b2e006
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion armi/reactor/converters/tests/test_uniformMesh.py
Expand Up @@ -274,7 +274,8 @@ def test_applyStateToOriginal(self):
for b in self.converter.convReactor.core.getBlocks():
b.p.mgFlux = range(33)
b.p.adjMgFlux = range(33)
b.p.flux = 5
b.p.fastFlux = 2.0
b.p.flux = 5.0
b.p.power = 5.0
b.p.pdens = 0.5

Expand All @@ -292,6 +293,7 @@ def test_applyStateToOriginal(self):
self.converter.applyStateToOriginal()

for b in self.r.core.getBlocks():
self.assertAlmostEqual(b.p.fastFlux, 2.0)
self.assertAlmostEqual(b.p.flux, 5.0)
self.assertAlmostEqual(b.p.pdens, 0.5)

Expand Down
2 changes: 1 addition & 1 deletion doc/release/0.2.rst
Expand Up @@ -12,7 +12,7 @@ What's new in ARMI

Bug fixes
---------
#. TBD
#. Fixed bug in ``fastFlux`` block parameter mapping in the ``UniformMeshConverter`` by applying it to the ``detailedAxialExpansion`` category.


ARMI v0.2.4
Expand Down

0 comments on commit 0b2e006

Please sign in to comment.