simplified element expansion in input_xml.F90 by using global arrays

This commit is contained in:
Sam Shaner 2016-10-17 16:52:20 -04:00
parent 22368e24d8
commit d15c735d93
7 changed files with 511 additions and 2670 deletions

View file

@ -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')