Skip to content

Commit

Permalink
Merge pull request #269 from fusion-energy/fixes_from_ws
Browse files Browse the repository at this point in the history
corrects a type in the definition of water material
  • Loading branch information
shimwell committed Feb 13, 2024
2 parents 4ac945f + e0e837b commit 885b9d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"\n",
"# Due to the hydrogen content water is a very good neutron moderator\n",
"my_material = openmc.Material()\n",
"my_material.add_element('H', 1, percent_type='ao')\n",
"my_material.add_element('O', 2, percent_type='ao')\n",
"my_material.add_element('H', 2, percent_type='ao')\n",
"my_material.add_element('O', 1, percent_type='ao')\n",
"my_material.set_density('g/cm3', 1)\n",
"\n",
"my_materials = openmc.Materials([my_material])\n",
Expand Down

0 comments on commit 885b9d0

Please sign in to comment.