diff --git a/openmc/model/model.py b/openmc/model/model.py index d989c0b22d4..be273f79187 100644 --- a/openmc/model/model.py +++ b/openmc/model/model.py @@ -958,6 +958,7 @@ def execute_run(self, **kwargs): self.settings.photon_transport = True self.tallies = self.photon_tallies + statepoint_paths = [] # Run photon transport for each desired timestep for tidx in self.photon_timesteps: new_mats = matlist[tidx] @@ -989,4 +990,6 @@ def execute_run(self, **kwargs): self.settings.source = src_list self.export_to_xml(rundir) - self.run(cwd=rundir) + statepoint_path = self.run(cwd=rundir) + statepoint_paths.append(statepoint_path) + return statepoint_paths