armi.physics.neutronics.latticePhysics.tests.test_latticeInterface module
Test the Lattice Interface.
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.LatticeInterfaceTester(r, cs)[source]
Bases:
LatticePhysicsInterface
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.LatticeInterfaceTesterLibFalse(r, cs)[source]
Bases:
LatticeInterfaceTester
Subclass setting _newLibraryShouldBeCreated = False.
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.TestLatticePhysicsInterfaceBase(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.latticePhysics.tests.test_latticeInterface.TestLatticePhysicsInterface(methodName='runTest')[source]
Bases:
TestLatticePhysicsInterfaceBase
Test Lattice Physics Interface.
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_interactBOL()[source]
Test interactBOL() with different update frequencies.
Notes
Unlike other interactions, self.o.r.core.lib is not set to None by the BOC interaction, so this test does not have a good means of verifying the correct function, so we use self.testVerification instead.
- test_interactBOC()[source]
Test interactBOC() with different update frequencies.
Notes
Unlike other interactions, self.o.r.core.lib is not set to None by the BOC interaction, so this test does not have a good means of verifying the correct function, so we use self.testVerification instead.
- test_interactEveryNodeWhenCoupled()[source]
Test that the XS lib is not cleared when coupled iterations are turned on and XS will be generated during the coupled iterations.
- test_interactEveryNodeWhenCoupledButNot()[source]
Test that the XS lib is cleared when coupled iterations are turned on but the lattice physics frequency is not high enough.
- test_interactEveryNodeFirstCoupled()[source]
Test interactEveryNode() with LatticePhysicsFrequency.firstCoupledIteration.
- test_interactFirstCoupledIteration()[source]
Test interactCoupled() with different update frequencies on first iteration.
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.TestLatticePhysicsLibraryCreation(methodName='runTest')[source]
Bases:
TestLatticePhysicsInterfaceBase
Test variations of _newLibraryShouldBeCreated.
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.