mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Changing parentheses into square brackets for creating materials_file
This commit is contained in:
parent
54052385e4
commit
7f58aa933b
1 changed files with 1 additions and 1 deletions
|
|
@ -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