mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Ability to restart from state point. Works in serial.
This commit is contained in:
parent
d4d1f63e1d
commit
013df94b2e
8 changed files with 128 additions and 4 deletions
|
|
@ -34,6 +34,12 @@ contains
|
|||
! LOOP OVER BATCHES
|
||||
BATCH_LOOP: do current_batch = 1, n_batches
|
||||
|
||||
! In a restart run, skip any batches that have already been simulated
|
||||
if (restart_run .and. current_batch <= restart_batch) then
|
||||
if (current_batch > n_inactive) n_realizations = n_realizations + 1
|
||||
cycle BATCH_LOOP
|
||||
end if
|
||||
|
||||
call initialize_batch()
|
||||
|
||||
! Start timer for transport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue