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 -3
View File
@@ -25,13 +25,11 @@ inline InteractionOut eT2I_DissExc::do_Interaction (Particle *interPart) {
InteractionOut res = Excitation_Base::do_Interaction(interPart);
vec3 loc_m = interPart->get_x_m();
Population->decrease_denisty(interPart->get_x_m(), 0); // dummy since thermal population
//Population->decrease_denisty(interPart->get_x_m(), 0); // dummy since thermal population
vec3 vTI_ms = Population->roll_v_ms(loc_m);
Particle TI = Particle_Builder::create_TI(loc_m, vTI_ms, -1, interPart->get_Id());
res.add_new_particle(TI);
//maybe add T Atom
return res;
}