mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Address more comments on pull request #556.
This commit is contained in:
parent
66f1d7b840
commit
148e01eec0
20 changed files with 86 additions and 181 deletions
|
|
@ -27,7 +27,7 @@
|
|||
"from openmc.statepoint import StatePoint\n",
|
||||
"from openmc.summary import Summary\n",
|
||||
"from openmc.source import Source\n",
|
||||
"from openmc.stats import SpatialBox\n",
|
||||
"from openmc.stats import Box\n",
|
||||
"\n",
|
||||
"%matplotlib inline"
|
||||
]
|
||||
|
|
@ -306,7 +306,7 @@
|
|||
"settings_file.trigger_active = True\n",
|
||||
"settings_file.trigger_max_batches = max_batches\n",
|
||||
"source_bounds = [-10.71, -10.71, -10, 10.71, 10.71, 10.]\n",
|
||||
"settings_file.source = Source(space=SpatialBox(\n",
|
||||
"settings_file.source = Source(space=Box(\n",
|
||||
" source_bounds[:3], source_bounds[3:]))\n",
|
||||
"\n",
|
||||
"# Export to \"settings.xml\"\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue