Added T5+ Interactions.
Preparing for adding direction dependend electron Containers.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// eT5I_recombination.h
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 16.09.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef eT5I_recombination_h
|
||||
#define eT5I_recombination_h
|
||||
|
||||
#include "sub_interaction_base.h"
|
||||
|
||||
// From Ference = Macdonald:1984aa
|
||||
class eT5I_Recombination : public Sub_Interaction_Base {
|
||||
public:
|
||||
eT5I_Recombination(Population_Base *T5IPopulation, UniRNG *rngUni) : Sub_Interaction_Base(T5IPopulation, rngUni) {}
|
||||
|
||||
double get_microSigma_m2(const double &E_eV) {
|
||||
return 1.8e-19/E_eV;}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
|
||||
inline InteractionOut eT5I_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 /* eT5I_recombination_h */
|
||||
Reference in New Issue
Block a user