Fixed particles not being logged properly.

This commit is contained in:
Christian
2019-07-24 10:01:24 +02:00
parent 3cab8cc08b
commit 959b317590
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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;
}
+1
View File
@@ -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;