Added Interactions:
diss. excitation between e and T_2^+, T_3^+ and vice versa.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// eT2I_disexc.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 30.07.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef eT2I_disexc_h
|
||||
#define eT2I_disexc_h
|
||||
|
||||
#include "sub_interaction_base.h"
|
||||
#include "janev_eT2I_disexc.h"
|
||||
|
||||
class eT2I_DissExc : public Excitation_Base {
|
||||
public:
|
||||
eT2I_DissExc(Population_Base *T2IPopulation, UniRNG *rngUni, DCS_Base *dcs_gen) : Excitation_Base(T2IPopulation, rngUni, Janev_eT2I_DissExc::get_deltaE_eV(), dcs_gen) {}
|
||||
|
||||
double get_microSigma_m2(const double &E_eV) {return Janev_eT2I_DissExc::get_TCS(E_eV);}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
|
||||
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);
|
||||
|
||||
//maybe add T Atom
|
||||
return res;
|
||||
}
|
||||
|
||||
#endif /* eT2I_disexc_h */
|
||||
Reference in New Issue
Block a user