mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
simplified element expansion in input_xml.F90 by using global arrays
This commit is contained in:
parent
22368e24d8
commit
d15c735d93
7 changed files with 511 additions and 2670 deletions
|
|
@ -51,7 +51,7 @@ o = openmc.Element('O')
|
|||
# Instantiate some Materials and register the appropriate Nuclides
|
||||
uo2 = openmc.Material(material_id=1, name='UO2 fuel at 2.4% wt enrichment')
|
||||
uo2.set_density('g/cm3', 10.29769)
|
||||
uo2.add_element(u, 1., enrichment=0.05)
|
||||
uo2.add_element(u, 1., enrichment=0.024)
|
||||
uo2.add_element(o, 2.)
|
||||
|
||||
helium = openmc.Material(material_id=2, name='Helium for gap')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue