Added Ionization Channels for e+T2 -> now 3 Processes from Janev are available:
eT2_T2I_Ionization_Janev_(label) 1. non dissoziative labeled as ndiss 2. dissoziative via X2 Sigma^+_g labeled as diss_g 3. dissoziative via B2 Sigma^+_u labeled as diss_u Added more Excitation Channels e + T2 from Janev
This commit is contained in:
@@ -52,7 +52,7 @@ DCS_Ionization_Container& DCS_Ionization_Container::operator=(const DCS_Ionizati
|
||||
std::swap(T_scale, tmp.T_scale);
|
||||
std::swap(W_scale, tmp.W_scale);
|
||||
std::swap(data, tmp.data);
|
||||
return (*this);
|
||||
return *this;
|
||||
}
|
||||
|
||||
void DCS_Ionization_Container::init_data() {
|
||||
@@ -92,7 +92,7 @@ double DCS_Ionization_Container::calc_bin_surface(int T_bin, int W_bin, Edge_Con
|
||||
double W_eV = W_scale[T_bin].get_bin_mid(W_bin);
|
||||
double width = T_scale.get_upper_bin_bound(T_bin) - T_scale.get_lower_bin_bound(T_bin);
|
||||
double height = E2D->interpolate(ddeque{T_eV, W_eV});
|
||||
return (width*height);
|
||||
return width*height;
|
||||
}
|
||||
|
||||
double DCS_Ionization_Container::roll_value(const double &T_eV, UniRNG *rngUni) {
|
||||
@@ -100,7 +100,7 @@ double DCS_Ionization_Container::roll_value(const double &T_eV, UniRNG *rngUni)
|
||||
double target = rngUni->random();
|
||||
for (int j=0; j<W_scale[T_bin].get_number_bins(); j++) {
|
||||
if (target < data[T_bin][j]) {
|
||||
return (roll_in_bin(T_bin, j, rngUni));
|
||||
return roll_in_bin(T_bin, j, rngUni);
|
||||
}
|
||||
}
|
||||
std::stringstream ss;
|
||||
|
||||
Reference in New Issue
Block a user