armi.reactor.converters.meshConverters module¶
Mesh specifiers update the mesh structure of a reactor by increasing or decreasing the number of mesh coordinates.
- class armi.reactor.converters.meshConverters.MeshConverter(converterSettings: dict)[source]¶
Bases:
object
Base class for the reactor mesh conversions.
- Parameters
converterSettings (dict) – A set of str, value settings used in mesh conversion. Required settings are implementation specific.
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverter(converterSettings)[source]¶
Bases:
armi.reactor.converters.meshConverters.MeshConverter
Handles mesh conversions for r-z-theta reactor geometries.
- Variables
~RZThetaReactorMeshConverter.converterSettings (dict) – This is a dictionary of settings that are used for the RZThetaReactorMeshConverter. Required converter settings:
uniformThetaMesh
,``thetaBins``
See also
RZThetaReactorMeshConverterByRingCompositionAxialBins
,RZThetaReactorMeshConverterByRingCompositionAxialCoordinates
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialBins(cs)[source]¶
Bases:
armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByRingComposition
,armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByAxialBins
Generate a new mesh based on the radial compositions and axial bins in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialBins
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialCoordinates(cs)[source]¶
Bases:
armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByRingComposition
,armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByAxialCoordinates
Generate a new mesh based on the radial compositions and axial coordinates in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialCoordinates
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialFlags(cs)[source]¶
Bases:
armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByRingComposition
,armi.reactor.converters.meshConverters._RZThetaReactorMeshConverterByAxialFlags
Generate a new mesh based on the radial compositions and axial material (based on block flags) regions in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialFlags
- armi.reactor.converters.meshConverters.checkLastValueInList(inputList, listName, expectedValue, eps=0.001, adjustLastValue=False)[source]¶
Check that the last value in the list is equal to the expected value within +/- eps.