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:
Christian
2019-11-15 16:56:54 +01:00
parent 584b78914a
commit e24db610e5
59 changed files with 714 additions and 497 deletions
+5 -3
View File
@@ -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);