Skip to content

Commit e5863ee

Browse files
committed
Correcting variable name
1 parent 26c031a commit e5863ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit_tests/test_cylindrical_mesh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def void_coincident_geom_model():
113113

114114
model.materials = openmc.Materials()
115115
radii = [0.1,1, 5, 50, 100, 150, 250]
116-
spheres = [openmc.Sphere(r=ri) for ri in radii]
117-
spheres[-1].boundary_type = 'vacuum'
116+
cylinders = [openmc.Sphere(r=ri) for ri in radii]
117+
cylinders[-1].boundary_type = 'vacuum'
118118

119-
regions = openmc.model.subdivide(spheres)[:-1]
119+
regions = openmc.model.subdivide(cylinders)[:-1]
120120
cells = [openmc.Cell(region=r, fill=None) for r in regions]
121121
geom = openmc.Geometry(cells)
122122

0 commit comments

Comments
 (0)