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,12 +12,14 @@
#include "sub_interaction_base.h"
// CS from Gerlich:
class T3IT2_RadAsc : public TI_thermal_Interaction_Base {
class T3IT2_RadAsc : public TI_thermal_binary_Precomputed_Interaction_Base {
public:
T3IT2_RadAsc(Population_Base *T2Population, UniRNG *rngUni) : TI_thermal_Interaction_Base(T2Population, rngUni) {};
T3IT2_RadAsc(Population_Base *T2Population, UniRNG *rngUni) : TI_thermal_binary_Precomputed_Interaction_Base(T2Population, rngUni, 3*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) {
double get_microSigma_m2(const double &E_eV) {
double v_ms = calc_v_ms_from_E_eV(E_eV, 3*mT_eV);
return 5e-23/v_ms;
}