Skip to content

Commit

Permalink
world_size -> world
Browse files Browse the repository at this point in the history
  • Loading branch information
SteSeg committed Nov 5, 2024
1 parent 201ecf5 commit 106921e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openmc_cad_adapter/to_cubit_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def to_cubit_journal(geometry : openmc.Geometry, world : Iterable[Real] = None,
' Please provide a world size argument to proceed')
# to ensure that the box
box_max = np.max(np.abs(bbox[0], bbox[1]).T)
world_size = (2 * box_max, 2 * box_max, 2 * box_max)
world = (2 * box_max, 2 * box_max, 2 * box_max)

if world is None:
raise RuntimeError("Model extents could not be determined automatically and must be provided manually")
Expand Down

0 comments on commit 106921e

Please sign in to comment.