diff --git a/src/mc_electron/T2Ie_disexc.h b/src/mc_electron/T2Ie_disexc.h index 05ef42e..ab22cf4 100644 --- a/src/mc_electron/T2Ie_disexc.h +++ b/src/mc_electron/T2Ie_disexc.h @@ -30,8 +30,8 @@ inline InteractionOut T2Ie_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; } diff --git a/src/mc_electron/T2Ie_recombination.h b/src/mc_electron/T2Ie_recombination.h index c4a159d..29c0799 100644 --- a/src/mc_electron/T2Ie_recombination.h +++ b/src/mc_electron/T2Ie_recombination.h @@ -25,10 +25,8 @@ public: inline InteractionOut T2Ie_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); - + /*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);*/ return res; } diff --git a/src/mc_electron/T3Ie_disexc.h b/src/mc_electron/T3Ie_disexc.h index e731841..ed34076 100644 --- a/src/mc_electron/T3Ie_disexc.h +++ b/src/mc_electron/T3Ie_disexc.h @@ -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; } diff --git a/src/mc_electron/T3Ie_recombination.h b/src/mc_electron/T3Ie_recombination.h index 0a95cd0..62c1dcb 100644 --- a/src/mc_electron/T3Ie_recombination.h +++ b/src/mc_electron/T3Ie_recombination.h @@ -24,10 +24,8 @@ public: 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); - + /*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);*/ return res; } diff --git a/src/mc_electron/T5Ie_recombination.h b/src/mc_electron/T5Ie_recombination.h index a707189..102b872 100644 --- a/src/mc_electron/T5Ie_recombination.h +++ b/src/mc_electron/T5Ie_recombination.h @@ -30,7 +30,7 @@ inline InteractionOut T5Ie_Recombination::do_Interaction (Particle *interPart) { 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); return res; } diff --git a/src/mc_electron/eT2I_disexc.h b/src/mc_electron/eT2I_disexc.h index 5d19207..ca187ba 100644 --- a/src/mc_electron/eT2I_disexc.h +++ b/src/mc_electron/eT2I_disexc.h @@ -25,11 +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 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); + //Population->decrease_denisty(interPart->get_x_m(), 0); // dummy since thermal population return res; } diff --git a/src/mc_electron/eT2I_recombination.h b/src/mc_electron/eT2I_recombination.h index 6e38bf7..d936503 100644 --- a/src/mc_electron/eT2I_recombination.h +++ b/src/mc_electron/eT2I_recombination.h @@ -27,7 +27,7 @@ inline InteractionOut eT2I_Recombination::do_Interaction (Particle *interPart) { InteractionOut res; res.set_delete_current(true); //std::cout<<"eT2I:\t"<<*interPart<<"\n"; - Population->decrease_denisty(interPart->get_x_m(), 0); + //Population->decrease_denisty(interPart->get_x_m(), 0); return res; } diff --git a/src/mc_electron/eT3I_disexc.h b/src/mc_electron/eT3I_disexc.h index bd9f77d..d0fa344 100644 --- a/src/mc_electron/eT3I_disexc.h +++ b/src/mc_electron/eT3I_disexc.h @@ -24,11 +24,11 @@ public: inline InteractionOut eT3I_DissExc::do_Interaction (Particle *interPart) { InteractionOut res = Excitation_Base::do_Interaction(interPart); vec3 loc_m = interPart->get_x_m(); - Population->decrease_denisty(loc_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); + //Population->decrease_denisty(loc_m, 0); // dummy since thermal population return res; } #endif /* eT3I_disexc_h */ diff --git a/src/mc_electron/eT3I_recombination.h b/src/mc_electron/eT3I_recombination.h index 10b2135..9d19e89 100644 --- a/src/mc_electron/eT3I_recombination.h +++ b/src/mc_electron/eT3I_recombination.h @@ -25,7 +25,7 @@ inline InteractionOut eT3I_Recombination::do_Interaction (Particle *interPart) { InteractionOut res; res.set_delete_current(true); //std::cout<<"eT3I:\t"<<*interPart<<"\n"; - Population->decrease_denisty(interPart->get_x_m(), 0); + //Population->decrease_denisty(interPart->get_x_m(), 0); return res; } diff --git a/src/mc_electron/eT5I_recombination.h b/src/mc_electron/eT5I_recombination.h index 87820e5..4dd1baf 100644 --- a/src/mc_electron/eT5I_recombination.h +++ b/src/mc_electron/eT5I_recombination.h @@ -27,7 +27,7 @@ inline InteractionOut eT5I_Recombination::do_Interaction (Particle *interPart) { InteractionOut res; //std::cout<<"eT5I:\t"<<*interPart<<"\n"; res.set_delete_current(true); - Population->decrease_denisty(interPart->get_x_m(), 0); + //Population->decrease_denisty(interPart->get_x_m(), 0); return res; }