Fixed bug, where electrons being reflected by spectrometers would not be logged twice / properly.

This commit is contained in:
Christian
2019-09-06 10:18:35 +02:00
parent 1978039630
commit 8d162e3c4e
3 changed files with 3 additions and 16 deletions
+1
View File
@@ -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);