35 lines
920 B
C++
35 lines
920 B
C++
//
|
|
// eT3I_recombination.h
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 12.07.19.
|
|
// Copyright © 2019 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef eT3I_recombination_h
|
|
#define eT3I_recombination_h
|
|
|
|
#include "sub_interaction_base.h"
|
|
#include "janev_eT3I_recombination.h"
|
|
|
|
class eT3I_Recombination : public Sub_Interaction_Base {
|
|
public:
|
|
eT3I_Recombination(Population_Base *T3IPopulation, UniRNG *rngUni) : Sub_Interaction_Base(T3IPopulation, rngUni) {}
|
|
|
|
double get_microSigma_m2(const double &E_eV, const vec3 &loc_m) {return Janev_eT3I_Recombination::get_TCS(E_eV);}
|
|
InteractionOut do_Interaction (Particle *interPart);
|
|
};
|
|
|
|
|
|
inline InteractionOut eT3I_Recombination::do_Interaction (Particle *interPart) {
|
|
InteractionOut res;
|
|
res.set_delete_current(true);
|
|
Population->decrease_denisty(interPart->get_x_m(), 0);
|
|
|
|
// Maybe add the 3 T atoms.
|
|
return res;
|
|
}
|
|
|
|
|
|
#endif /* eT3I_recombination_h */
|