mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fixed void material for Python API
This commit is contained in:
parent
f3cd40ec8c
commit
8802ccf18e
1 changed files with 3 additions and 0 deletions
|
|
@ -345,6 +345,9 @@ class Cell(object):
|
|||
element.set("fill", str(self._fill._id))
|
||||
self._fill.create_xml_subelement(xml_element)
|
||||
|
||||
elif self._fill == "void":
|
||||
element.set("material", "void")
|
||||
|
||||
else:
|
||||
element.set("fill", str(self._fill))
|
||||
self._fill.create_xml_subelement(xml_element)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue