mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Make sure lattice outer universe is added to child_of
This commit is contained in:
parent
909c43b1e4
commit
e8b99c0a38
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ class Geometry(object):
|
|||
outer = get(elem, 'outer')
|
||||
if outer is not None:
|
||||
lat.outer = get_universe(int(outer))
|
||||
child_of[lat.outer].append(lat)
|
||||
universes[lat_id] = lat
|
||||
|
||||
# Get array of universes
|
||||
|
|
@ -188,6 +189,7 @@ class Geometry(object):
|
|||
outer = get(elem, 'outer')
|
||||
if outer is not None:
|
||||
lat.outer = get_universe(int(outer))
|
||||
child_of[lat.outer].append(lat)
|
||||
universes[lat_id] = lat
|
||||
|
||||
# Get nested lists of universes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue