armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface module¶
Tests for generic global flux interface
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockReactorParams[source]¶
Bases:
object
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockCoreParams[source]¶
Bases:
object
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockCore[source]¶
Bases:
object
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockReactor[source]¶
Bases:
object
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockGlobalFluxInterface(r, cs)[source]¶
Bases:
armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxInterfaceAdd fake keff calc to a the general gf interface.
This simulates a 1000 pcm keff increase over 1 step.
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockGlobalFluxWithExecuters(r, cs)[source]¶
Bases:
armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxInterfaceUsingExecuters
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockGlobalFluxWithExecutersNonUniform(r, cs)[source]¶
Bases:
armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockGlobalFluxWithExecuters
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.MockGlobalFluxExecuter(options: armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxOptions, reactor)[source]¶
Bases:
armi.physics.neutronics.globalFlux.globalFluxInterface.GlobalFluxExecuterTests for code that uses Executers, which rely on OutputReaders to update state.
- class armi.physics.neutronics.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxOptions(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseCreate 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.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxInterface(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseCreate 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.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxInterfaceWithExecuters(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseTests for the default global flux execution.
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.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxInterfaceWithExecutersNonUniform(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseTests for global flux execution with non-uniform assemblies.
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.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxResultMapper(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseTest that global flux result mappings run.
Notes
This does not test that the flux mapping is correct. That has to be done at another level.
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.globalFlux.tests.test_globalFluxInterface.TestGlobalFluxUtils(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseCreate 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.