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

@ -147,7 +147,7 @@
"import openmc\n",
"import openmc.mgxs as mgxs\n",
"from openmc.source import Source\n",
"from openmc.stats import SpatialBox\n",
"from openmc.stats import Box\n",
"\n",
"%matplotlib inline"
]
@ -343,7 +343,7 @@
"settings_file.particles = particles\n",
"settings_file.output = {'tallies': True, 'summary': True}\n",
"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",
" bounds[:3], bounds[3:], only_fissionable=True))\n",
"\n",
"# Export to \"settings.xml\"\n",

View file

@ -53,7 +53,7 @@
"import openmc\n",
"import openmc.mgxs as mgxs\n",
"from openmc.source import Source\n",
"from openmc.stats import SpatialBox\n",
"from openmc.stats import Box\n",
"import openmoc\n",
"from openmoc.compatible import get_openmoc_geometry\n",
"import pyne.ace\n",
@ -288,7 +288,7 @@
"settings_file.particles = particles\n",
"settings_file.output = {'tallies': True, 'summary': True}\n",
"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",
" bounds[:3], bounds[3:], only_fissionable=True))\n",
"\n",
"# Activate tally precision triggers\n",

View file

@ -53,7 +53,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",
"import openmoc\n",
"import openmoc.process\n",
@ -394,7 +394,7 @@
"settings_file.particles = particles\n",
"settings_file.output = {'tallies': False, 'summary': True}\n",
"source_bounds = [-10.71, -10.71, -10, 10.71, 10.71, 10.]\n",
"settings_file.source = Source(SpatialBox(\n",
"settings_file.source = Source(Box(\n",
" source_bounds[:3], source_bounds[3:], only_fissionable=True))\n",
"\n",
"# Export to \"settings.xml\"\n",

View file

@ -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",

View file

@ -22,7 +22,7 @@
"import openmc\n",
"from openmc.statepoint import StatePoint\n",
"from openmc.source import Source\n",
"from openmc.stats import SpatialBox\n",
"from openmc.stats import Box\n",
"\n",
"%matplotlib inline"
]
@ -274,7 +274,7 @@
"settings_file.inactive = inactive\n",
"settings_file.particles = particles\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",

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",

View file

@ -469,7 +469,7 @@ attributes/sub-elements:
three real numbers which specify the (x,y,z) location of an isotropic
point source.
For an "independent" distributoin, no parameters are specified. Instead,
For an "independent" distribution, no parameters are specified. Instead,
the ``x``, ``y``, and ``z`` elements must be specified.
*Default*: None