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
+1 -1
View File
@@ -24,7 +24,7 @@ inline InteractionOut T3Ie_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);
Population->decrease_denisty(interPart->get_x_m(), E_eV);
// Maybe add the 3 T atoms.
return res;