Removed offset of populations

This commit is contained in:
Christian
2019-11-11 14:17:52 +01:00
parent dcef2b811a
commit a7f401ecf5
10 changed files with 14 additions and 18 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ inline InteractionOut T3Ie_DissExc::do_Interaction (Particle *interPart) {
vec3 vTI_ms = interPart->get_v_ms();
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);
/*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);*/
return res;
}