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,12 +12,14 @@
|
||||
#include "sub_interaction_base.h"
|
||||
// CS from Plasil:2012
|
||||
|
||||
class TIT2_RadAsc : public TI_thermal_Interaction_Base {
|
||||
class TIT2_RadAsc : public TI_thermal_binary_Precomputed_Interaction_Base {
|
||||
|
||||
public:
|
||||
TIT2_RadAsc(Population_Base *T2Population, UniRNG *rngUni) : TI_thermal_Interaction_Base(T2Population, rngUni) {};
|
||||
TIT2_RadAsc(Population_Base *T2Population, UniRNG *rngUni) : TI_thermal_binary_Precomputed_Interaction_Base(T2Population, rngUni, 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, mT_eV);
|
||||
return 5e-23/v_ms;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user