armi.materials.tests.test_materials module¶
Tests materials.py.
- class armi.materials.tests.test_materials.MaterialConstructionTests(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.materials.tests.test_materials.MaterialFindingTests(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
Make sure materials are discoverable as designed.
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.materials.tests.test_materials.Californium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
- class armi.materials.tests.test_materials.Cesium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.cs.Cs
- class armi.materials.tests.test_materials.Magnesium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.magnesium.Magnesium
- class armi.materials.tests.test_materials.MagnesiumOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.mgO.MgO
- class armi.materials.tests.test_materials.Molybdenum_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.molybdenum.Molybdenum
- class armi.materials.tests.test_materials.MOX_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.mox.MOX
- class armi.materials.tests.test_materials.NaCl_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.sodiumChloride.NaCl
- class armi.materials.tests.test_materials.NiobiumZirconium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.nZ.NZ
- class armi.materials.tests.test_materials.Potassium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.potassium.Potassium
- class armi.materials.tests.test_materials.ScandiumOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.scandiumOxide.Sc2O3
- class armi.materials.tests.test_materials.Sodium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.sodium.Sodium
- class armi.materials.tests.test_materials.Tantalum_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.tantalum.Tantalum
- class armi.materials.tests.test_materials.ThoriumUraniumMetal_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.thU.ThU
- class armi.materials.tests.test_materials.Uranium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.uranium.Uranium
- class armi.materials.tests.test_materials.UraniumOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
- class armi.materials.tests.test_materials.Thorium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.thorium.Thorium
- class armi.materials.tests.test_materials.ThoriumOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
- class armi.materials.tests.test_materials.Void_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.void.Void
- class armi.materials.tests.test_materials.Mixture_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.mixture._Mixture
- class armi.materials.tests.test_materials.Lead_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.lead.Lead
- class armi.materials.tests.test_materials.LeadBismuth_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
- class armi.materials.tests.test_materials.Copper_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.copper.Cu
- class armi.materials.tests.test_materials.Sulfur_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.sulfur.Sulfur
- class armi.materials.tests.test_materials.Zr_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.zr.Zr
- class armi.materials.tests.test_materials.Inconel_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.materials.tests.test_materials.Inconel600_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.inconel600.Inconel600
- class armi.materials.tests.test_materials.Inconel625_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.inconel625.Inconel625
- class armi.materials.tests.test_materials.InconelX750_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
- class armi.materials.tests.test_materials.Alloy200_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.alloy200.Alloy200
- class armi.materials.tests.test_materials.CaH2_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.caH2.CaH2
- class armi.materials.tests.test_materials.Hafnium_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.hafnium.Hafnium
- class armi.materials.tests.test_materials.HastelloyN_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.hastelloyN.HastelloyN
- class armi.materials.tests.test_materials.TZM_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.tZM.TZM
- class armi.materials.tests.test_materials.YttriumOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.yttriumOxide.Y2O3
- class armi.materials.tests.test_materials.ZincOxide_TestCase(methodName='runTest')[source]¶
Bases:
armi.materials.tests.test_materials._Material_Test
,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.
- MAT_CLASS¶
alias of
armi.materials.zincOxide.ZnO
- class armi.materials.tests.test_materials.FuelMaterial_TestCase(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.
- baseInput = '\nnuclide flags:\n U: {burn: false, xs: true}\n ZR: {burn: false, xs: true}\ncustom isotopics:\n customIsotopic1:\n input format: mass fractions\n density: 1\n U: 1\n customIsotopic2:\n input format: mass fractions\n density: 1\n ZR: 1\nblocks:\n fuel: &block_fuel\n fuel1: &component_fuel_fuel1\n shape: Hexagon\n material: UZr\n Tinput: 600.0\n Thot: 600.0\n ip: 0.0\n mult: 1\n op: 10.0\n fuel2: &component_fuel_fuel2\n shape: Hexagon\n material: UZr\n Tinput: 600.0\n Thot: 600.0\n ip: 0.0\n mult: 1\n op: 10.0\nassemblies:\n fuel a: &assembly_a\n specifier: IC\n blocks: [*block_fuel]\n height: [1.0]\n axial mesh points: [1]\n xs types: [A]\n'¶