Fixed bug, where electrons being reflected by spectrometers would not be logged twice / properly.
This commit is contained in:
@@ -26,6 +26,7 @@ void E_Mover_Drift::doWallInteraction(Particle *movePart, vec3 *oldLoc_m, double
|
||||
|
||||
// Log Movement before Reflection
|
||||
reverseLoc_m[2] = z_WGTS_end_m;
|
||||
movePart->set_x_m(reverseLoc_m);
|
||||
Logger->log(*movePart, *oldLoc_m);
|
||||
Population->increase_density(*movePart, *oldLoc_m);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user