mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
more natural way of getting starting index for depletion restart
This commit is contained in:
parent
1e68f8635a
commit
1f60a7fea6
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def predictor(operator, timesteps, power, print_out=True):
|
|||
if operator.prev_res == None:
|
||||
i_res = 0
|
||||
else:
|
||||
i_res = len(operator.prev_res.get_eigenvalue()[0])
|
||||
i_res = len(operator.prev_res)
|
||||
|
||||
#TODO : Get last time step power from previous results, and run a
|
||||
# new calculation if different from power at the first time step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue