diff --git a/src/fixed_source.F90 b/src/fixed_source.F90 index 713645cd9b..989cf987b8 100644 --- a/src/fixed_source.F90 +++ b/src/fixed_source.F90 @@ -21,13 +21,14 @@ contains if (master) call header("BEGIN SIMULATION", level=1) - tallies_on = .true. - call timer_start(time_inactive) - ! Allocate particle and dummy source site allocate(p) allocate(source_site) + ! Turn timer and tallier on + tallies_on = .true. + call timer_start(time_active) + ! ========================================================================== ! LOOP OVER BATCHES BATCH_LOOP: do current_batch = 1, n_batches diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 6a1854fa7b..19b269a820 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -142,8 +142,9 @@ contains if (n_particles == 0) n_particles = str_to_int(fixed_source_ % particles) ! Copy batch information - n_batches = fixed_source_ % batches - n_active = fixed_source_ % batches + n_batches = fixed_source_ % batches + n_active = fixed_source_ % batches + gen_per_batch = 1 end if ! Check number of active batches