Reworked Katrin Geometrics.

Added creation of T3+ clusters.
Added diss. recombination fo T3+ + e-
This commit is contained in:
Christian
2019-07-12 15:15:23 +02:00
parent 194d3eaf77
commit 6f288bb0c1
72 changed files with 811 additions and 589 deletions
+7 -5
View File
@@ -10,7 +10,6 @@
#define eT2I_recombination_h
#include "sub_interaction_base.h"
#include "tcs_container.hpp"
#include "janev_eT2I_recombination.h"
class eT2I_Recombination : public Sub_Interaction_Base {
@@ -23,9 +22,9 @@ public:
inline double eT2I_Recombination::get_macroSigma_m2(const Particle &interPart) {
double Ekin_eV = interPart.get_EKin_eV();
double microSigma_m2 = Janev_eT2_Recombination::get_TCS(Ekin_eV);
vec3 loc_m = interPart.get_Location_m();
double E_eV = interPart.get_E_eV();
double microSigma_m2 = Janev_eT2I_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;
}
@@ -33,8 +32,11 @@ inline double eT2I_Recombination::get_macroSigma_m2(const Particle &interPart) {
inline InteractionOut eT2I_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
res.set_delete_current(true);
res.set_decrease(tritium2I, interPart->get_Location_m(), 0); // 0 is dummy parameter, since thermal population
Population->decrease_denisty(interPart->get_x_m(), interPart->get_E_eV());
// Maybe add the 2 T atoms.
return res;
}
#endif /* eT2I_recombination_h */