From e0e837b8210649208d7ff201882f7ac349bff42d Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Tue, 13 Feb 2024 17:51:50 +0000 Subject: [PATCH] [skip ci] corrected h2o def --- .../2_example_neutron_spectra_on_cell.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/task_07_CSG_cell_tally_spectra/2_example_neutron_spectra_on_cell.ipynb b/tasks/task_07_CSG_cell_tally_spectra/2_example_neutron_spectra_on_cell.ipynb index a296ba12..92268920 100644 --- a/tasks/task_07_CSG_cell_tally_spectra/2_example_neutron_spectra_on_cell.ipynb +++ b/tasks/task_07_CSG_cell_tally_spectra/2_example_neutron_spectra_on_cell.ipynb @@ -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",