From 0b2e006f64104d60510952e0234ffad7a5e23477 Mon Sep 17 00:00:00 2001 From: jakehader Date: Wed, 5 Oct 2022 12:17:28 -0700 Subject: [PATCH] Add unit test and update release notes --- armi/reactor/converters/tests/test_uniformMesh.py | 4 +++- doc/release/0.2.rst | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/armi/reactor/converters/tests/test_uniformMesh.py b/armi/reactor/converters/tests/test_uniformMesh.py index 07d103f2d..3a2f35655 100644 --- a/armi/reactor/converters/tests/test_uniformMesh.py +++ b/armi/reactor/converters/tests/test_uniformMesh.py @@ -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 @@ -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) diff --git a/doc/release/0.2.rst b/doc/release/0.2.rst index f1cd645f2..f598d7dad 100644 --- a/doc/release/0.2.rst +++ b/doc/release/0.2.rst @@ -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