Major update:
1. Added precalculation of integral values in thermal regime. 2. Minor Changes in Injection of \beta-electrons and ions.
This commit is contained in:
@@ -10,16 +10,20 @@
|
||||
#define T2Ie_recombination_h
|
||||
|
||||
#include "sub_interaction_base.h"
|
||||
#include "precomputed_interaction_base.h"
|
||||
#include "janev_eT2I_recombination.h"
|
||||
|
||||
class T2Ie_Recombination : public TI_e_Interaction_Base {
|
||||
class T2Ie_Recombination : public TI_e_Precomputed_Interaction_Base {
|
||||
public:
|
||||
T2Ie_Recombination(Population_Base *ePopulation, UniRNG *rngUni) : TI_e_Interaction_Base(ePopulation, rngUni) {}
|
||||
T2Ie_Recombination(Population_Base *ePopulation, UniRNG *rngUni) : TI_e_Precomputed_Interaction_Base(ePopulation, rngUni, 2*mT_eV) {
|
||||
calc_values(); // need to call here, because, constructor can't call pure virtual function
|
||||
}
|
||||
|
||||
double get_microSigma_m2(const double &E_eV, const vec3 &loc_m) {
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
protected:
|
||||
double get_microSigma_m2(const double &E_eV) {
|
||||
return Janev_eT2I_Recombination::get_TCS(E_eV);
|
||||
}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
};
|
||||
|
||||
inline InteractionOut T2Ie_Recombination::do_Interaction (Particle *interPart) {
|
||||
|
||||
Reference in New Issue
Block a user