Removed offset application to density fields when interacting.

This commit is contained in:
Christian
2019-11-11 10:30:15 +01:00
parent c173b15615
commit ae1281b2e5
10 changed files with 24 additions and 27 deletions
+1 -2
View File
@@ -30,8 +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(interPart->get_x_m(), E_eV);
//maybe add T Atom
//Population->decrease_denisty(loc_m, E_eV);
return res;
}