mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
fixes per @smharpers comments
This commit is contained in:
parent
989569ac5e
commit
86d5600eb2
13 changed files with 124 additions and 377 deletions
|
|
@ -72,7 +72,7 @@ mg_cross_sections_file.export_to_xml()
|
|||
uo2_data = openmc.Macroscopic('UO2', '300K')
|
||||
h2o_data = openmc.Macroscopic('LWTR', '300K')
|
||||
|
||||
# Instantiate some Materials and register the appropriate Nuclides
|
||||
# Instantiate some Materials and register the appropriate Macroscopic objects
|
||||
uo2 = openmc.Material(material_id=1, name='UO2 fuel')
|
||||
uo2.set_density('macro', 1.0)
|
||||
uo2.add_macroscopic(uo2_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue