armi.reactor.tests package
Submodules
- armi.reactor.tests.test_assemblies module
buildTestAssemblies()
MaterialInAssembly_TestCase
makeTestAssembly()
Assembly_TestCase
Assembly_TestCase.test_isOnWhichSymmetryLine()
Assembly_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_scaleParamsWhenMoved()
Assembly_TestCase.test_getName()
Assembly_TestCase.test_getNum()
Assembly_TestCase.test_getLocation()
Assembly_TestCase.test_getArea()
Assembly_TestCase.test_getVolume()
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_getMass()
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()
Assembly_TestCase.test_assem_block_types()
Assembly_TestCase.test_assem_hex_type()
Assembly_TestCase.test_getBIndexFromZIndex()
Assembly_TestCase.test_getElevationBoundariesByBlockType()
AssemblyInReactor_TestCase
AnnularFuelTestCase
- armi.reactor.tests.test_blocks module
buildSimpleFuelBlock()
loadTestBlock()
applyDummyData()
getComponentData()
TestDetailedNDensUpdate
Block_TestCase
Block_TestCase.test_getSmearDensity()
Block_TestCase.test_getSmearDensityMultipleLiner()
Block_TestCase.test_getSmearDensityEdgeCases()
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_setEnvGroup()
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_getWettedPerimeterCircularInnerDuct()
Block_TestCase.test_getWettedPerimeterHexInnerDuct()
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_getSortedComponentsInsideOfComponentClad()
Block_TestCase.test_getSortedComponentsInsideOfComponentDuct()
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_expandElementalToIsotopics()
Block_TestCase.test_expandAllElementalsToIsotopics()
Block_TestCase.test_setPitch()
Block_TestCase.test_setImportantParams()
Block_TestCase.test_getMfp()
Block_TestCase.test_consistentMassDensityVolumeBetweenColdBlockAndColdComponents()
Block_TestCase.test_consistentMassDensityVolumeBetweenHotBlockAndHotComponents()
Block_TestCase.test_consistentAreaWithOverlappingComponents()
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()
BlockInputHeightsTests
BlockEnergyDepositionConstants
BlockEnergyDepositionConstants.test_getTotalEnergyGenerationConstants()
BlockEnergyDepositionConstants.test_getFissionEnergyDepositionConstants()
BlockEnergyDepositionConstants.test_getCaptureEnergyGenerationConstants()
BlockEnergyDepositionConstants.test_getNeutronEnergyDepositionConstants()
BlockEnergyDepositionConstants.test_getGammaEnergyDepositionConstants()
TestNegativeVolume
HexBlock_TestCase
HexBlock_TestCase.test_getArea()
HexBlock_TestCase.test_component_type()
HexBlock_TestCase.test_coords()
HexBlock_TestCase.test_getNumPins()
HexBlock_TestCase.test_block_dims()
HexBlock_TestCase.test_symmetryFactor()
HexBlock_TestCase.test_retainState()
HexBlock_TestCase.test_getPinLocations()
HexBlock_TestCase.test_getPinCoordsAndLocsAgree()
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()
TestHexBlockOrientation
ThRZBlock_TestCase
CartesianBlock_TestCase
MassConservationTests
MassConservationTests.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
TestComponentFactory
TestGeneralComponents
TestComponent
TestNullComponent
TestUnshapedComponent
TestUnshapedComponent.componentCls
TestUnshapedComponent.componentMaterial
TestUnshapedComponent.componentDims
TestUnshapedComponent.test_getComponentArea()
TestUnshapedComponent.test_getBoundingCircleOuterDiameter()
TestUnshapedComponent.test_component_less_than()
TestUnshapedComponent.test_fromComponent()
TestShapedComponent
TestDerivedShape
TestDerivedShapeGetArea
TestCircle
TestCircle.componentCls
TestCircle.componentDims
TestCircle.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()
TestCircle.test_theoreticalDensitySetter()
TestComponentExpansion
TestComponentExpansion.tCold
TestComponentExpansion.tWarm
TestComponentExpansion.tHot
TestComponentExpansion.coldOuterDiameter
TestComponentExpansion.test_HT9Expansion()
TestComponentExpansion.test_UZrExpansion()
TestComponentExpansion.test_B4CExpansion()
TestComponentExpansion.runExpansionTests()
TestComponentExpansion.componentMassIndependentOfInputTemp()
TestComponentExpansion.expansionConservationHotHeightDefined()
TestComponentExpansion.expansionConservationColdHeightDefined()
TestTriangle
TestRectangle
TestSolidRectangle
TestSquare
TestCube
TestHexagon
TestHoledHexagon
TestHexHoledCircle
TestHoledRectangle
TestHoledRectangle.componentCls
TestHoledRectangle.componentDims
TestHoledRectangle.dimsToTestExpansion
TestHoledRectangle.setClassDims()
TestHoledRectangle.test_getBoundingCircleOuterDiameter()
TestHoledRectangle.test_getCircleInnerDiameter()
TestHoledRectangle.test_getArea()
TestHoledRectangle.test_thermallyExpands()
TestHoledRectangle.test_dimensionThermallyExpands()
TestHoledSquare
TestHelix
TestSphere
TestRadialSegment
TestDifferentialRadialSegment
TestDifferentialRadialSegment.componentCls
TestDifferentialRadialSegment.componentDims
TestDifferentialRadialSegment.test_getVolume()
TestDifferentialRadialSegment.test_updateDims()
TestDifferentialRadialSegment.test_thermallyExpands()
TestDifferentialRadialSegment.test_getBoundingCircleOuterDiameter()
TestMaterialAdjustments
TestMaterialAdjustments.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()
TestMaterialAdjustments.test_finalizeLoadDBAdjustsTD()
TestPinQuantities
- armi.reactor.tests.test_composites module
MockBP
getDummyParamDefs()
DummyComposite
DummyLeaf
TestCompositePattern
TestCompositePattern.test_composite()
TestCompositePattern.test_iterComponents()
TestCompositePattern.test_getChildren()
TestCompositePattern.test_getName()
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_setChildrenLumpedFissionProducts()
TestCompositePattern.test_requiresLumpedFissionProducts()
TestCompositePattern.test_getLumpedFissionProductsIfNecessaryNullCase()
TestCompositePattern.test_getIntegratedMgFlux()
TestCompositePattern.test_getReactionRates()
TestCompositePattern.test_syncParameters()
TestCompositeTree
TestCompositeTree.blueprintYaml
TestCompositeTree.test_ordering()
TestCompositeTree.test_summing()
TestCompositeTree.test_constituentReport()
TestCompositeTree.test_getNuclides()
TestCompositeTree.test_getFuelMass()
TestCompositeTree.test_getChildrenIncludeMaterials()
TestCompositeTree.test_getHMMass()
TestCompositeTree.test_getFPMass()
TestCompositeTree.test_getFissileMass()
TestCompositeTree.test_getMaxParam()
TestCompositeTree.test_getMinParam()
TestFlagSerializer
TestMiscMethods
TestMiscMethods.test_setMass()
TestMiscMethods.test_getNumberDensities()
TestMiscMethods.test_getNumberDensitiesWithExpandedFissionProducts()
TestMiscMethods.test_dimensionReport()
TestMiscMethods.test_getAtomicWeight()
TestMiscMethods.test_containsHeavyMetal()
TestMiscMethods.test_copyParamsToChildren()
TestMiscMethods.test_copyParamsFrom()
TestGetReactionRateDict
- armi.reactor.tests.test_excoreStructures module
- armi.reactor.tests.test_flags module
TestFlags
TestFlags.test_fromString()
TestFlags.test_fromStringWithNumbers()
TestFlags.test_flagsDefinedWithNumbers()
TestFlags.test_flagsToAndFromString()
TestFlags.test_toStringAlphabetical()
TestFlags.test_fromStringStrict()
TestFlags.test_lookup()
TestFlags.test_convertsStringsWithNonFlags()
TestFlags.test_defaultIsFalse()
TestFlags.test_isPickleable()
- armi.reactor.tests.test_geometry module
- armi.reactor.tests.test_hexBlockRotate module
HexBlockRotateTests
HexBlockRotateTests.BOUNDARY_PARAMS
HexBlockRotateTests.BOUNDARY_DATA
HexBlockRotateTests.PIN_PARAMS
HexBlockRotateTests.PIN_DATA
HexBlockRotateTests.test_orientationVector()
HexBlockRotateTests.test_rotateBoundaryParameters()
HexBlockRotateTests.assertIndexLocationEquivalent()
HexBlockRotateTests.test_pinRotationLocations()
HexBlockRotateTests.test_pinRotationCoordinates()
HexBlockRotateTests.test_updateChildLocations()
HexBlockRotateTests.test_pinParametersUnmodified()
EmptyBlockRotateTest
- armi.reactor.tests.test_parameters module
MockComposite
MockCompositeGrandParent
MockCompositeParent
MockCompositeChild
ParameterTests
ParameterTests.test_mutableDefaultsNotSupported()
ParameterTests.test_writeSomeParamsToDB()
ParameterTests.test_serializer_pack_unpack()
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__()
ParamCollectionWhere
TestMakeParametersReadOnly
- armi.reactor.tests.test_reactors module
buildOperatorOfEmptyHexBlocks()
buildOperatorOfEmptyCartesianBlocks()
loadTestReactor()
reduceTestReactorRings()
ReactorTests
HexReactorTests
HexReactorTests.test_coreSfp()
HexReactorTests.test_factorySortSetting()
HexReactorTests.test_getSetParameters()
HexReactorTests.test_sortChildren()
HexReactorTests.test_sortAssemByRing()
HexReactorTests.test_getTotalParam()
HexReactorTests.test_geomType()
HexReactorTests.test_growToFullCore()
HexReactorTests.test_getBlocksByIndices()
HexReactorTests.test_getAllXsSuffixes()
HexReactorTests.test_genBlocksByLocName()
HexReactorTests.test_setPitchUniform()
HexReactorTests.test_countBlocksOfType()
HexReactorTests.test_normalizeNames()
HexReactorTests.test_setB10VolOnCreation()
HexReactorTests.test_countFuelAxialBlocks()
HexReactorTests.test_getFirstFuelBlockAxialNode()
HexReactorTests.test_getMaxAssembliesInHexRing()
HexReactorTests.test_getMaxNumPins()
HexReactorTests.test_addMultipleCores()
HexReactorTests.test_getReactor()
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_getNumAssembliesWithAllRingsFilledOutBipass()
HexReactorTests.test_getNumEnergyGroups()
HexReactorTests.test_getMinimumPercentFluxInFuel()
HexReactorTests.test_getAssemblyWithLoc()
HexReactorTests.test_getAssemblyWithName()
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_getNumRings()
HexReactorTests.test_whenNoAssemblies()
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_pinCoordsAllBlocks()
HexReactorTests.test_nonUniformAssems()
HexReactorTests.test_applyThermalExpansion_CoreConstruct()
HexReactorTests.test_updateBlockBOLHeights_DBLoad()
HexReactorTests.test_buildManualZones()
HexReactorTests.test_buildManualZonesEmpty()
HexReactorTests.test_getNuclideCategories()
HexReactorTests.test_setPowerIfNecessary()
HexReactorTests.test_findAllMeshPoints()
CartesianReactorTests
CartesianReactorNeighborTests
- armi.reactor.tests.test_rz_reactors module
- armi.reactor.tests.test_zones module