armi.nuclearDataIO.cccc.tests.test_nhflux module
Test reading/writing of NHFLUX dataset.
- class armi.nuclearDataIO.cccc.tests.test_nhflux.TestNhflux(methodName='runTest')[source]
Bases:
TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_fluxMoments()[source]
Verify that the flux moments are properly read.
The 5 flux moments values are manually verified for two nodes. The indices are converted to zero based from the original by subtracting one.
- test_xyPartialCurrents()[source]
Verify that the XY-directed partial currents can be read.
The surface partial currents can be used to reconstruct the surface flux and corner flux values. This test shows that the outgoing current in one hex is identical to the incoming current in the adjacent hex.