Fixed bug in recombination calculation and activated offsets.

This commit is contained in:
Christian
2019-11-11 14:10:22 +01:00
parent ae1281b2e5
commit dcef2b811a
11 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ inline InteractionOut T3Ie_DissExc::do_Interaction (Particle *interPart) {
Particle TI = Particle_Builder::create_TI(loc_m, vTI_ms, -1, interPart->get_Id());
res.add_new_particle(TI);
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(loc_m, E_eV);
Population->decrease_denisty(loc_m, E_eV);
return res;
}