Fixed particles not being logged properly.
This commit is contained in:
@@ -77,7 +77,7 @@ void Particle_Looper::do_logging_off_loops(int target_decays) {
|
||||
int prev_ID_counter = ID_counter;
|
||||
set_logging(false);
|
||||
do_loops(target_decays);
|
||||
set_logging(false);
|
||||
set_logging(true);
|
||||
ID_counter = prev_ID_counter;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,6 +141,7 @@ void Simulation::do_cycle(long int number_total, long int step_size, bool loggin
|
||||
ss<<"Simulation::do_cycle: invalid step_size. \n";
|
||||
throw MyException(ss.str());
|
||||
}
|
||||
|
||||
long int decays_this_cpu = number_total/mpi_size;
|
||||
int overflow = number_total%mpi_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user