Bug for counting n_dipole

This commit is contained in:
Christian
2019-09-24 23:34:35 +02:00
parent 466b602d71
commit 55453f2904
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ inline bool Negative_Terminator::check_walls(const Particle &movePart) {
return true;
}
if (z_m >= z_WGTS_end_m && E_eV <= dipole_cutoffE_eV) {
stats.n_rw += 1;
stats.n_dipole += 1;
return true;
}
if (r_m >= r_WGTS_m) {
+2 -2
View File
@@ -22,11 +22,11 @@ int main(int argc, char *argv[]) {
cout<<"Number CPUs: "<<size<<"\n"<<endl;
}
/*
std::cout << "Process " << getpid() << " is " << rank
<< " of " << size << " processes" << std::endl;
if (rank == 0) sleep(600);
*/
Simulation Sim;