Reworked Katrin Geometrics.
Added creation of T3+ clusters. Added diss. recombination fo T3+ + e-
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// 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_macroSigma_m2(const Particle &interPart);
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
|
||||
inline double eT3I_Recombination::get_macroSigma_m2(const Particle &interPart) {
|
||||
double E_eV = interPart.get_E_eV();
|
||||
double microSigma_m2 = Janev_eT3I_Recombination::get_TCS(E_eV);
|
||||
vec3 loc_m = interPart.get_x_m();
|
||||
double nT2I_m3 = Population->get_density_m3(loc_m);
|
||||
return microSigma_m2*nT2I_m3;
|
||||
}
|
||||
|
||||
inline InteractionOut eT3I_Recombination::do_Interaction (Particle *interPart) {
|
||||
InteractionOut res;
|
||||
res.set_delete_current(true);
|
||||
Population->decrease_denisty(interPart->get_x_m(), interPart->get_E_eV());
|
||||
|
||||
// Maybe add the 3 T atoms.
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
#endif /* eT3I_recombination_h */
|
||||
Reference in New Issue
Block a user