mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
More fixes of changing parentheses into square brackets
This commit is contained in:
parent
7f58aa933b
commit
c18cdcffd8
5 changed files with 5 additions and 5 deletions
|
|
@ -131,7 +131,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# Instantiate a Materials collection\n",
|
||||
"materials_file = openmc.Materials((fuel, water, zircaloy))\n",
|
||||
"materials_file = openmc.Materials([fuel, water, zircaloy])\n",
|
||||
"\n",
|
||||
"# Export to \"materials.xml\"\n",
|
||||
"materials_file.export_to_xml()"
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# Instantiate a Materials object\n",
|
||||
"materials_file = openmc.Materials((fuel, water, zircaloy))\n",
|
||||
"materials_file = openmc.Materials([fuel, water, zircaloy])\n",
|
||||
"\n",
|
||||
"# Export to \"materials.xml\"\n",
|
||||
"materials_file.export_to_xml()"
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# Instantiate a Materials collection\n",
|
||||
"materials_file = openmc.Materials((fuel, water, zircaloy))\n",
|
||||
"materials_file = openmc.Materials([fuel, water, zircaloy])\n",
|
||||
"\n",
|
||||
"# Export to \"materials.xml\"\n",
|
||||
"materials_file.export_to_xml()"
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
" water.add_element('B', ppm_Boron * 1E-6)\n",
|
||||
" \n",
|
||||
" # Instantiate a Materials object\n",
|
||||
" materials = openmc.Materials((fuel, zircaloy, water))\n",
|
||||
" materials = openmc.Materials([fuel, zircaloy, water])\n",
|
||||
" \n",
|
||||
" # Create cylinders for the fuel and clad\n",
|
||||
" fuel_outer_radius = openmc.ZCylinder(R=0.39218)\n",
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# Instantiate a Materials collection\n",
|
||||
"materials_file = openmc.Materials((fuel, water, zircaloy))\n",
|
||||
"materials_file = openmc.Materials([fuel, water, zircaloy])\n",
|
||||
"\n",
|
||||
"# Export to \"materials.xml\"\n",
|
||||
"materials_file.export_to_xml()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue