Address more comments on pull request #556.

This commit is contained in:
Paul Romano 2016-01-15 06:29:41 -06:00
parent 66f1d7b840
commit 148e01eec0
20 changed files with 86 additions and 181 deletions

View file

@ -37,7 +37,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"
]
@ -290,7 +290,7 @@
"settings_file.particles = particles\n",
"settings_file.output = {'tallies': True, 'summary': True}\n",
"source_bounds = [-0.63, -0.63, -0.63, 0.63, 0.63, 0.63]\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",