Reduction of Reduction of rdf by recombination..

This commit is contained in:
Christian
2019-11-22 17:36:26 +01:00
parent 90a68dc47c
commit f94dfc71a1
24 changed files with 42 additions and 43 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ protected:
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;
}