Fixed bug, where electrons being reflected by spectrometers would not be logged twice / properly.
This commit is contained in:
@@ -34,7 +34,7 @@ inline void Drift_Base::move(Particle *movePart, const double ¯oSigma_m2) {
|
||||
newLoc_m[2] = znew_m;
|
||||
|
||||
movePart->set_x_m(newLoc_m);
|
||||
Logger->log(*movePart,oldLoc_m);
|
||||
Logger->log(*movePart, oldLoc_m);
|
||||
Population->increase_density(*movePart, oldLoc_m);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user