Readded density reduction by interaction for test

This commit is contained in:
Christian
2019-11-08 15:59:13 +01:00
parent f5d65959c3
commit 490bfd2cc6
18 changed files with 56 additions and 17 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ public:
inline InteractionOut T5Ie_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);
// Maybe add the 5 T atoms.
return res;