Added Interactions:
diss. excitation between e and T_2^+, T_3^+ and vice versa.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// T3Ie_disexc.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 30.07.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef T3Ie_disexc_h
|
||||
#define T3Ie_disexc_h
|
||||
|
||||
#include "sub_interaction_base.h"
|
||||
#include "janev_eT3I_disexc.h"
|
||||
|
||||
class T3Ie_DissExc : public Sub_Interaction_Base {
|
||||
public:
|
||||
T3Ie_DissExc(Population_Base *ePopulation, UniRNG *rngUni) : Sub_Interaction_Base(ePopulation, rngUni) {}
|
||||
|
||||
double get_microSigma_m2(const double &E_eV) {return Janev_eT3I_DissExc::get_TCS(E_eV);}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
|
||||
inline InteractionOut T3Ie_DissExc::do_Interaction (Particle *interPart) {
|
||||
InteractionOut res;
|
||||
res.set_delete_current(true);
|
||||
|
||||
vec3 loc_m = interPart->get_x_m();
|
||||
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);
|
||||
|
||||
//maybe add T Atom
|
||||
return res;
|
||||
}
|
||||
#endif /* T3Ie_disexc_h */
|
||||
Reference in New Issue
Block a user