Added vibrational excitation 0->1, 0->2
Previous commit was incomplete.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// eT2I_recombination.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 18.06.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef eT2I_recombination_h
|
||||
#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 {
|
||||
public:
|
||||
eT2I_Recombination(Population_Base *T2IPopulation, UniRNG *rngUni) : Sub_Interaction_Base(T2IPopulation, rngUni) {}
|
||||
|
||||
double get_macroSigma_m2(const Particle &interPart);
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
|
||||
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 nT2I_m3 = Population->get_density_m3(loc_m);
|
||||
return (microSigma_m2*nT2I_m3);
|
||||
}
|
||||
|
||||
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
|
||||
// Maybe add the 2 T atoms.
|
||||
return(res);
|
||||
}
|
||||
#endif /* eT2I_recombination_h */
|
||||
Reference in New Issue
Block a user