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:
armi.physics.neutronics.latticePhysics.latticePhysicsInterface.LatticePhysicsInterface
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.LatticeInterfaceTesterLibFalse(r, cs)[source]¶
Bases:
armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.LatticeInterfaceTester
Subclass setting _newLibraryShouldBeCreated = False.
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.TestLatticePhysicsInterfaceBase(methodName='runTest')[source]¶
Bases:
unittest.case.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:
armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.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_interactEveryNodeFirstCoupled()[source]¶
Test interactEveryNode() with LatticePhysicsFrequency.firstCoupledIteration.
- class armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.TestLatticePhysicsLibraryCreation(methodName='runTest')[source]¶
Bases:
armi.physics.neutronics.latticePhysics.tests.test_latticeInterface.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.