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:
@@ -12,11 +12,13 @@
|
||||
#include "sub_interaction_base.h"
|
||||
#include "janev_eT2I_recombination.h"
|
||||
|
||||
class eT2I_Recombination : public e_thermal_Interaction_Base {
|
||||
class eT2I_Recombination : public e_thermal_Precomputed_Interaction_Base {
|
||||
public:
|
||||
eT2I_Recombination(Population_Base *T2IPopulation, UniRNG *rngUni) : e_thermal_Interaction_Base(T2IPopulation, rngUni) {}
|
||||
eT2I_Recombination(Population_Base *T2IPopulation, UniRNG *rngUni) : e_thermal_Precomputed_Interaction_Base(T2IPopulation, rngUni, me_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) {
|
||||
double get_microSigma_m2(const double &E_eV) {
|
||||
return Janev_eT2I_Recombination::get_TCS(E_eV);
|
||||
}
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
|
||||
Reference in New Issue
Block a user