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

@ -1,7 +1,7 @@
import numpy as np
import openmc
from openmc.stats import SpatialBox
from openmc.stats import Box
from openmc.source import Source
###############################################################################
@ -86,5 +86,5 @@ settings_file = openmc.SettingsFile()
settings_file.batches = batches
settings_file.inactive = inactive
settings_file.particles = particles
settings_file.source = Source(space=SpatialBox(*cell.region.bounding_box))
settings_file.source = Source(space=Box(*cell.region.bounding_box))
settings_file.export_to_xml()