mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixed bug in summary.py with cell fill universes
This commit is contained in:
parent
75bc67c2e4
commit
96d5fb671d
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ class Summary(object):
|
|||
if fill_type == 'normal':
|
||||
fill = self._f['geometry/cells'][key]['material'][0]
|
||||
elif fill_type == 'fill':
|
||||
fill = self._f['geometry/cells'][key]['universe'][0]
|
||||
fill = self._f['geometry/cells'][key]['fill'][0]
|
||||
else:
|
||||
fill = self._f['geometry/cells'][key]['lattice'][0]
|
||||
|
||||
|
|
@ -492,4 +492,4 @@ class Summary(object):
|
|||
if lattice._id == lattice_id:
|
||||
return lattice
|
||||
|
||||
return None
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue