Skip to content

Commit

Permalink
Merge 3b19d60 into 97ba5ee
Browse files Browse the repository at this point in the history
  • Loading branch information
ntouran committed Jun 22, 2022
2 parents 97ba5ee + 3b19d60 commit 14104e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions armi/reactor/blocks.py
Expand Up @@ -2002,10 +2002,12 @@ def autoCreateSpatialGrids(self):
)
)

spatialLocators = grids.MultiIndexLocation(grid=self.spatialGrid)
ringNumber = hexagon.numRingsToHoldNumCells(self.getNumPins())
# For the below to work, there must not be multiple wire or multiple clad types.
grid = grids.HexGrid.fromPitch(self.getPinPitch(cold=True), numRings=0)
grid = grids.HexGrid.fromPitch(
self.getPinPitch(cold=True), numRings=0, pointedEndUp=True
)
spatialLocators = grids.MultiIndexLocation(grid=self.spatialGrid)
numLocations = 0
for ring in range(ringNumber):
numLocations = numLocations + hexagon.numPositionsInRing(ring + 1)
Expand Down

0 comments on commit 14104e2

Please sign in to comment.