Removed offset of populations

This commit is contained in:
Christian
2019-11-11 14:17:52 +01:00
parent dcef2b811a
commit a7f401ecf5
10 changed files with 14 additions and 18 deletions
+2 -4
View File
@@ -25,10 +25,8 @@ public:
inline InteractionOut T2Ie_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
res.set_delete_current(true);
double E_eV = calc_E_eV_from_v_ms(Population->roll_v_ms(interPart->get_x_m()), me_eV); // should be computed properly using chances.
Population->decrease_denisty(interPart->get_x_m(), E_eV);
/*double E_eV = calc_E_eV_from_v_ms(Population->roll_v_ms(interPart->get_x_m()), me_eV); // should be computed properly using chances.
Population->decrease_denisty(interPart->get_x_m(), E_eV);*/
return res;
}