Ability to restart from state point. Works in serial.

This commit is contained in:
Paul Romano 2012-07-31 14:49:05 -04:00
parent d4d1f63e1d
commit 013df94b2e
8 changed files with 128 additions and 4 deletions

View file

@ -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