Get rid of OpenMCSettings.openmc_call, which doesn't make sense anymore

This commit is contained in:
Paul Romano 2018-02-14 06:37:17 -06:00
parent 3b31892816
commit ef99788ff4
3 changed files with 0 additions and 8 deletions

View file

@ -58,8 +58,6 @@ class OpenMCSettings(Settings):
chain_file : str
Path to the depletion chain xml file. Defaults to the environment
variable "OPENDEPLETE_CHAIN" if it exists.
openmc_call : str
OpenMC executable path. Defaults to "openmc".
particles : int
Number of particles to simulate per batch.
batches : int
@ -94,7 +92,6 @@ class OpenMCSettings(Settings):
self.chain_file = os.environ["OPENDEPLETE_CHAIN"]
except KeyError:
self.chain_file = None
self.openmc_call = "openmc"
self.particles = None
self.batches = None
self.inactive = None

View file

@ -18,9 +18,6 @@ dt = np.repeat([dt1], N)
# Create settings variable
settings = openmc.deplete.OpenMCSettings()
settings.openmc_call = "openmc"
# An example for mpiexec:
# settings.openmc_call = ["mpiexec", "openmc"]
settings.particles = 1000
settings.batches = 100
settings.inactive = 40

View file

@ -42,8 +42,6 @@ def test_full(run_in_tmpdir):
chain_file = str(Path(__file__).parents[2] / 'chains' / 'chain_simple.xml')
settings.chain_file = chain_file
settings.openmc_call = "openmc"
settings.openmc_npernode = 2
settings.particles = 100
settings.batches = 100
settings.inactive = 40