armi.reactor.grids.axial module
- class armi.reactor.grids.axial.AxialGrid(unitSteps=(0, 0, 0), bounds=(None, None, None), unitStepLimits=((0, 1), (0, 1), (0, 1)), offset=None, geomType='', symmetry='', armiObject=None)[source]
Bases:
StructuredGrid
1-D grid in the k-direction (z).
Note
It is recommended to use
fromNCells()
rather than calling the__init_
constructor directly- classmethod fromNCells(numCells: int, armiObject: Optional[ArmiObject] = None) AxialGrid [source]
Produces an unit grid where each bin is 1-cm tall.
numCells + 1
mesh boundaries are added, since one block would require a bottom and a top.