armi.reactor.tests package
Submodules
- armi.reactor.tests.test_assemblies module
buildTestAssemblies()MaterialInAssembly_TestCasemakeTestAssembly()Assembly_TestCaseAssembly_TestCase.test_notesParameter()Assembly_TestCase.test_iter()Assembly_TestCase.test_len()Assembly_TestCase.test_append()Assembly_TestCase.test_extend()Assembly_TestCase.test_add()Assembly_TestCase.test_moveTo()Assembly_TestCase.test_getName()Assembly_TestCase.test_getNum()Assembly_TestCase.test_getLocation()Assembly_TestCase.test_getArea()Assembly_TestCase.test_getVolume()Assembly_TestCase.test_doubleResolution()Assembly_TestCase.test_adjustResolution()Assembly_TestCase.test_getAxialMesh()Assembly_TestCase.test_calculateZCoords()Assembly_TestCase.test_getTotalHeight()Assembly_TestCase.test_getHeight()Assembly_TestCase.test_getReactiveHeight()Assembly_TestCase.test_getFissileMass()Assembly_TestCase.test_getPuFrac()Assembly_TestCase.test_getMass()Assembly_TestCase.test_getZrFrac()Assembly_TestCase.test_getMaxUraniumMassEnrich()Assembly_TestCase.test_getAge()Assembly_TestCase.test_makeAxialSnapList()Assembly_TestCase.test_snapAxialMeshToReference()Assembly_TestCase.test_updateFromAssembly()Assembly_TestCase.test_duplicate()Assembly_TestCase.test_hasFlags()Assembly_TestCase.test_renameBlocksAccordingToAssemblyNum()Assembly_TestCase.test_getBlocks()Assembly_TestCase.test_getFirstBlock()Assembly_TestCase.test_getFirstBlockByType()Assembly_TestCase.test_getBlockData()Assembly_TestCase.test_getMaxParam()Assembly_TestCase.test_getElevationsMatchingParamValue()Assembly_TestCase.test_calcAvgParam()Assembly_TestCase.test_calcTotalParam()Assembly_TestCase.test_reattach()Assembly_TestCase.test_reestablishBlockOrder()Assembly_TestCase.test_countBlocksOfType()Assembly_TestCase.test_getDim()Assembly_TestCase.test_getDominantMaterial()Assembly_TestCase.test_iteration()Assembly_TestCase.test_getBlocksAndZ()Assembly_TestCase.test_getBlocksBetweenElevations()Assembly_TestCase.test_getParamValuesAtZ()Assembly_TestCase.test_hasContinuousCoolantChannel()Assembly_TestCase.test_carestianCoordinates()Assembly_TestCase.test_pinPlenumVolume()Assembly_TestCase.test_averagePlenumTemperature()Assembly_TestCase.test_rotate()
AssemblyInReactor_TestCaseAnnularFuelTestCase
- armi.reactor.tests.test_blocks module
buildSimpleFuelBlock()loadTestBlock()applyDummyData()getComponentData()Block_TestCaseBlock_TestCase.test_getSmearDensity()Block_TestCase.test_getSmearDensityMultipleLiner()Block_TestCase.test_timeNodeParams()Block_TestCase.test_getType()Block_TestCase.test_hasFlags()Block_TestCase.test_setType()Block_TestCase.test_duplicate()Block_TestCase.test_homogenizedMixture()Block_TestCase.test_getXsType()Block_TestCase.test_27b_setBuGroup()Block_TestCase.test_setZeroHeight()Block_TestCase.test_getVolumeFractionsWithZeroHeight()Block_TestCase.test_getVolumeFractionWithoutParent()Block_TestCase.test_clearDensity()Block_TestCase.test_getNumberDensity()Block_TestCase.test_getMasses()Block_TestCase.test_removeMass()Block_TestCase.test_setNumberDensity()Block_TestCase.test_setNumberDensities()Block_TestCase.test_getMass()Block_TestCase.test_setMass()Block_TestCase.test_getTotalMass()Block_TestCase.test_replaceBlockWithBlock()Block_TestCase.test_getWettedPerimeter()Block_TestCase.test_getFlowAreaPerPin()Block_TestCase.test_getFlowArea()Block_TestCase.test_getHydraulicDiameter()Block_TestCase.test_adjustUEnrich()Block_TestCase.test_setLocation()Block_TestCase.test_setBuLimitInfo()Block_TestCase.test_getTotalNDens()Block_TestCase.test_getHMDens()Block_TestCase.test_getFissileMassEnrich()Block_TestCase.test_getMicroSuffix()Block_TestCase.test_getUraniumMassEnrich()Block_TestCase.test_getUraniumNumEnrich()Block_TestCase.test_getNumberOfAtoms()Block_TestCase.test_getPu()Block_TestCase.test_adjustDensity()Block_TestCase.test_completeInitialLoading()Block_TestCase.test_add()Block_TestCase.test_hasComponents()Block_TestCase.test_getComponentNames()Block_TestCase.test_getComponents()Block_TestCase.test_getComponent()Block_TestCase.test_getComponentsOfShape()Block_TestCase.test_getComponentsOfMaterial()Block_TestCase.test_getComponentByName()Block_TestCase.test_getSortedComponentsInsideOfComponent()Block_TestCase.test_getSortedComponentsInsideOfComponentSpecifiedTypes()Block_TestCase.test_getNumComponents()Block_TestCase.test_getNumPins()Block_TestCase.test_setLinPowByPin()Block_TestCase.test_getComponentAreaFrac()Block_TestCase.test_100_getPinPitch()Block_TestCase.test_101_getPitch()Block_TestCase.test_102_setPitch()Block_TestCase.test_106_getAreaFractions()Block_TestCase.test_rotatePins()Block_TestCase.test_expandElementalToIsotopics()Block_TestCase.test_expandAllElementalsToIsotopics()Block_TestCase.test_setPitch()Block_TestCase.test_getMfp()Block_TestCase.test_consistentMassDensityVolumeBetweenColdBlockAndColdComponents()Block_TestCase.test_consistentMassDensityVolumeBetweenHotBlockAndHotComponents()Block_TestCase.test_consistentAreaWithOverlappingComponents()Block_TestCase.test_breakFuelComponentsIntoIndividuals()Block_TestCase.test_pinMgFluxes()Block_TestCase.test_getComponentsInLinkedOrder()Block_TestCase.test_mergeWithBlock()Block_TestCase.test_getDimensions()Block_TestCase.test_getPlenumPin()Block_TestCase.test_hasPinPitch()Block_TestCase.test_getReactionRates()
Test_NegativeVolumeHexBlock_TestCaseHexBlock_TestCase.test_getArea()HexBlock_TestCase.test_coords()HexBlock_TestCase.test_getNumPins()HexBlock_TestCase.test_symmetryFactor()HexBlock_TestCase.test_retainState()HexBlock_TestCase.test_getPinCoords()HexBlock_TestCase.test_getPitchHomogeneousBlock()HexBlock_TestCase.test_getDuctPitch()HexBlock_TestCase.test_getPinCenterFlatToFlat()HexBlock_TestCase.test_gridCreation()HexBlock_TestCase.test_gridNumPinsAndLocations()HexBlock_TestCase.test_gridNotCreatedMultipleMultiplicities()
ThRZBlock_TestCaseCartesianBlock_TestCaseMassConservationTestsMassConservationTests.test_heightExpansionDifferences()MassConservationTests.test_massFuelHeatup()MassConservationTests.test_massCladHeatup()MassConservationTests.test_massDuctHeatup()MassConservationTests.test_massCoolHeatup()MassConservationTests.test_dimensionDuctHeatup()MassConservationTests.test_coldMass()MassConservationTests.test_massConsistency()
- armi.reactor.tests.test_components module
TestComponentFactoryTestGeneralComponentsTestComponentTestNullComponentTestUnshapedComponentTestShapedComponentTestDerivedShapeTestCircleTestCircle.componentClsTestCircle.componentDimsTestCircle.test_getThermalExpansionFactorConservedMassByLinearExpansionPercent()TestCircle.test_getDimension()TestCircle.test_thermallyExpands()TestCircle.test_getBoundingCircleOuterDiameter()TestCircle.test_getCircleInnerDiameter()TestCircle.test_dimensionThermallyExpands()TestCircle.test_getArea()TestCircle.test_componentInteractionsLinkingByDimensions()TestCircle.test_badComponentName()TestCircle.test_componentInteractionsLinkingBySubtraction()TestCircle.test_getNumberDensities()TestCircle.test_changeNumberDensities()TestCircle.test_fuelMass()
TestComponentExpansionTestComponentExpansion.tColdTestComponentExpansion.tWarmTestComponentExpansion.tHotTestComponentExpansion.coldOuterDiameterTestComponentExpansion.test_HT9Expansion()TestComponentExpansion.test_UZrExpansion()TestComponentExpansion.test_B4CExpansion()TestComponentExpansion.runExpansionTests()TestComponentExpansion.componentMassIndependentOfInputTemp()TestComponentExpansion.expansionConservationHotHeightDefined()TestComponentExpansion.expansionConservationColdHeightDefined()
TestTriangleTestRectangleTestSolidRectangleTestSquareTestCubeTestHexagonTestHoledHexagonTestHexHoledCircleTestHoledRectangleTestHoledRectangle.componentClsTestHoledRectangle.componentDimsTestHoledRectangle.dimsToTestExpansionTestHoledRectangle.setClassDims()TestHoledRectangle.test_getBoundingCircleOuterDiameter()TestHoledRectangle.test_getCircleInnerDiameter()TestHoledRectangle.test_getArea()TestHoledRectangle.test_thermallyExpands()TestHoledRectangle.test_dimensionThermallyExpands()
TestHoledSquareTestHelixTestSphereTestRadialSegmentTestDifferentialRadialSegmentTestDifferentialRadialSegment.componentClsTestDifferentialRadialSegment.componentDimsTestDifferentialRadialSegment.test_getVolume()TestDifferentialRadialSegment.test_updateDims()TestDifferentialRadialSegment.test_thermallyExpands()TestDifferentialRadialSegment.test_getBoundingCircleOuterDiameter()
TestMaterialAdjustmentsTestMaterialAdjustments.test_setMassFrac()TestMaterialAdjustments.test_setMassFracOnComponentMaterial()TestMaterialAdjustments.test_adjustMassFrac_invalid()TestMaterialAdjustments.test_adjustMassFrac_U235()TestMaterialAdjustments.test_adjustMassFrac_U()TestMaterialAdjustments.test_adjustMassFrac_clear_ZR()TestMaterialAdjustments.test_adjustMassFrac_set_ZR()TestMaterialAdjustments.test_adjustMassFrac_leave_same()TestMaterialAdjustments.test_adjustMassEnrichment()TestMaterialAdjustments.test_getEnrichment()
- armi.reactor.tests.test_composites module
MockBPgetDummyParamDefs()DummyCompositeDummyLeafTestCompositePatternTestCompositePattern.test_Composite()TestCompositePattern.test_iterComponents()TestCompositePattern.test_getChildren()TestCompositePattern.test_sort()TestCompositePattern.test_areChildernOfType()TestCompositePattern.test_containsAtLeastOneChildOfType()TestCompositePattern.test_containsOnlyChildrenOfType()TestCompositePattern.test_nameContains()TestCompositePattern.test_nucSpec()TestCompositePattern.test_hasFlags()TestCompositePattern.test_hasFlagsSubstring()TestCompositePattern.test_hasFlagsNoTypeSpecified()TestCompositePattern.test_getBoundingCirlceOuterDiameter()TestCompositePattern.test_getParamNames()TestCompositePattern.test_updateVolume()TestCompositePattern.test_expandLFPs()TestCompositePattern.test_getIntegratedMgFlux()TestCompositePattern.test_getReactionRates()TestCompositePattern.test_syncParameters()
TestCompositeTreeTestCompositeTree.blueprintYamlTestCompositeTree.test_ordering()TestCompositeTree.test_summing()TestCompositeTree.test_constituentReport()TestCompositeTree.test_getNuclides()TestCompositeTree.test_getFuelMass()TestCompositeTree.test_getNeutronEnergyDepositionConstants()TestCompositeTree.test_getGammaEnergyDepositionConstants()TestCompositeTree.test_getChildrenIncludeMaterials()TestCompositeTree.test_getHMMass()TestCompositeTree.test_getFPMass()TestCompositeTree.test_getFissileMass()TestCompositeTree.test_getMaxParam()TestCompositeTree.test_getMinParam()
TestFlagSerializerTestMiscMethodsTestGetReactionRateDict
- armi.reactor.tests.test_flags module
- armi.reactor.tests.test_geometry module
- armi.reactor.tests.test_parameters module
MockCompositeMockCompositeGrandParentMockCompositeParentMockCompositeChildParameterTestsParameterTests.test_mutableDefaultsNotSupported()ParameterTests.test_paramPropertyDoesNotConflict()ParameterTests.test_paramPropertyDoesNotConflictWithNoneDefault()ParameterTests.test_getWithoutDefaultRaisesParameterError()ParameterTests.test_attemptingToSetParamWithoutSetterFails()ParameterTests.test_setter()ParameterTests.test_setterGetterBasics()ParameterTests.test_cannotDefineParameterWithSameName()ParameterTests.test_paramDefinitionsCompose()ParameterTests.test_cannotDefineParameterWithSameNameForCollectionSubclass()ParameterTests.test_cannotCreateAttrbuteOnParameterCollectionSubclass()ParameterTests.test_cannotCreateInstanceOf_NoDefault()ParameterTests.test_cannotCreateInstanceOf_Undefined()ParameterTests.test_defaultLocation()ParameterTests.test_categories()ParameterTests.test_parameterCollectionsHave__slots__()
MockSyncPCmakeComp()SynchronizationTestsSynchronizationTests.run()SynchronizationTests.write()SynchronizationTests.assertRaises()SynchronizationTests.assertEqual()SynchronizationTests.assertNotEqual()SynchronizationTests.mpitest_noConflicts()SynchronizationTests.mpitest_noConflicts_setByString()SynchronizationTests.mpitest_withConflicts()SynchronizationTests.mpitest_withConflictsButSameValue()SynchronizationTests.mpitest_noConflictsMaintainWithStateRetainer()SynchronizationTests.mpitest_conflictsMaintainWithStateRetainer()SynchronizationTests.mpitest_rxCoeffsProcess()
- armi.reactor.tests.test_reactors module
buildOperatorOfEmptyHexBlocks()buildOperatorOfEmptyCartesianBlocks()loadTestReactor()reduceTestReactorRings()ReactorTestsHexReactorTestsHexReactorTests.test_factorySortSetting()HexReactorTests.test_sortChildren()HexReactorTests.test_sortAssemByRing()HexReactorTests.test_getTotalParam()HexReactorTests.test_geomType()HexReactorTests.test_growToFullCore()HexReactorTests.test_getBlocksByIndices()HexReactorTests.test_getAllXsSuffixes()HexReactorTests.test_countBlocksOfType()HexReactorTests.test_normalizeNames()HexReactorTests.test_setB10VolOnCreation()HexReactorTests.test_countFuelAxialBlocks()HexReactorTests.test_getFirstFuelBlockAxialNode()HexReactorTests.test_getMaxAssembliesInHexRing()HexReactorTests.test_getMaxNumPins()HexReactorTests.test_addMoreNodes()HexReactorTests.test_findAxialMeshIndexOf()HexReactorTests.test_findAllAxialMeshPoints()HexReactorTests.test_findAllAxialMeshPoints_wSubmesh()HexReactorTests.test_findAllAziMeshPoints()HexReactorTests.test_findAllRadMeshPoints()HexReactorTests.test_findNeighbors()HexReactorTests.test_getAssembliesInCircularRing()HexReactorTests.test_getAssembliesInHexRing()HexReactorTests.test_genAssembliesAddedThisCycle()HexReactorTests.test_getAssemblyPitch()HexReactorTests.test_getNumAssembliesWithAllRingsFilledOut()HexReactorTests.test_getNumEnergyGroups()HexReactorTests.test_getMinimumPercentFluxInFuel()HexReactorTests.test_getAssembly()HexReactorTests.test_restoreReactor()HexReactorTests.test_differentNuclideModels()HexReactorTests.test_getDominantMaterial()HexReactorTests.test_getSymmetryFactor()HexReactorTests.test_getAssembliesOnSymmetryLine()HexReactorTests.test_saveAllFlux()HexReactorTests.test_getFluxVector()HexReactorTests.test_getFuelBottomHeight()HexReactorTests.test_getGridBounds()HexReactorTests.test_locations()HexReactorTests.test_getMass()HexReactorTests.test_isPickleable()HexReactorTests.test_removeAssembly()HexReactorTests.test_removeAssemblyNoSfp()HexReactorTests.test_removeAssembliesInRing()HexReactorTests.test_removeAssembliesInRingByCount()HexReactorTests.test_removeAssembliesInRingHex()HexReactorTests.test_getNozzleTypes()HexReactorTests.test_createAssemblyOfType()HexReactorTests.test_createFreshFeed()HexReactorTests.test_createAssemblyOfTypeExpandedCore()HexReactorTests.test_getAvgTemp()HexReactorTests.test_getScalarEvolution()HexReactorTests.test_ifMissingSpatialGrid()HexReactorTests.test_removeAllAssemblies()HexReactorTests.test_pinCoordsAllBlocks()HexReactorTests.test_nonUniformAssems()HexReactorTests.test_applyThermalExpansion_CoreConstruct()HexReactorTests.test_updateBlockBOLHeights_DBLoad()HexReactorTests.test_buildManualZones()HexReactorTests.test_buildManualZonesEmpty()HexReactorTests.test_getNuclideCategories()HexReactorTests.test_setPowerIfNecessary()
CartesianReactorTests
- armi.reactor.tests.test_rz_reactors module
- armi.reactor.tests.test_zones module