Added some recombination and cluster formation channels.

Changed Parameter names to be more consistent.
This commit is contained in:
Christian
2019-10-14 15:37:45 +02:00
parent fe06550c8d
commit 3ddf92fd75
55 changed files with 543 additions and 355 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ class T3Ie_Recombination : public Sub_Interaction_Base {
public:
T3Ie_Recombination(Population_Base *ePopulation, UniRNG *rngUni) : Sub_Interaction_Base(ePopulation, rngUni) {}
double get_microSigma_m2(const double &E_eV) {
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);
};
@@ -23,7 +23,7 @@ public:
inline InteractionOut T3Ie_Recombination::do_Interaction (Particle *interPart) {
InteractionOut res;
res.set_delete_current(true);
double E_eV = calc_E_eV_from_v_ms(Population->roll_v_ms(interPart->get_x_m()), 3*mT_eV); // should be computed properly using chances.
double E_eV = calc_E_eV_from_v_ms(Population->roll_v_ms(interPart->get_x_m()), me_eV); // should be computed properly using chances.
Population->decrease_denisty(interPart->get_x_m(), E_eV);
// Maybe add the 3 T atoms.