armi.physics.neutronics.tests.test_crossSectionManager module
Test the cross section manager.
armi.physics.neutronics.crossSectionGroupManager
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollection(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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollectionMedian(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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollectionAverage(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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestComponentAveraging(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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollectionComponentAverage(methodName='runTest')[source]
Bases:
TestCase
Tests for ZPPR 1D XS gen cases.
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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollectionComponentAverage1DCylinder(methodName='runTest')[source]
Bases:
TestCase
tests for 1D cylinder XS gen cases.
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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestBlockCollectionFluxWeightedAverage(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.
- class armi.physics.neutronics.tests.test_crossSectionManager.TestCrossSectionGroupManager(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_getRepresentativeBlocks()[source]
Test that we can create the representative blocks for a reactor.
- test_createRepresentativeBlocksUsingExistingBlocks()[source]
Demonstrates that a new representative block can be generated from an existing representative block.
Notes
This tests that the XS ID of the new representative block is correct and that the compositions are identical between the original and the new representative blocks.
- test_createRepresentativeBlocksUsingExistingBlocksDisableValidBlockTypes()[source]
Demonstrates that a new representative block can be generated from an existing representative block with the setting disableBlockTypeExclusionInXsGeneration: true.
Notes
This tests that the XS ID of the new representative block is correct and that the compositions are identical between the original and the new representative blocks.
- test_interactFirstCoupledIteration()[source]
Test firstCoupledIteration lattice physics update frequency.