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:
@@ -35,7 +35,7 @@ inline vec3 roll_uniform_direction(ranlib::Uniform<double> *rngUni) {
|
||||
double phi = 2*pi*rngUni->random();
|
||||
double theta = pi*rngUni->random();
|
||||
dir = sin(theta)*cos(phi) , sin(theta)*sin(phi) , cos(theta);
|
||||
return(dir);
|
||||
return dir;
|
||||
}
|
||||
|
||||
inline double roll_MBEnergy(const double &Temp_K, const double &mass_eV,ranlib::NormalUnit<double> *rngNormal) {
|
||||
@@ -48,7 +48,7 @@ inline double roll_MBEnergy(const double &Temp_K, const double &mass_eV,ranlib::
|
||||
}
|
||||
beta = sqrt(C*(sum));
|
||||
|
||||
return((calc_gamma_from_beta(beta)-1)*mass_eV);
|
||||
return (calc_gamma_from_beta(beta)-1)*mass_eV;
|
||||
}
|
||||
|
||||
inline double roll_Rejectionmethod(double (*pdf)(double), double xmin, double xmax, double pmax, ranlib::Uniform<double> *rngUni) {
|
||||
@@ -59,7 +59,7 @@ inline double roll_Rejectionmethod(double (*pdf)(double), double xmin, double xm
|
||||
eta2 = rngUni->random();
|
||||
xcan = xmin + eta1*(xmax - xmin);
|
||||
} while( eta2*pmax > pdf(xcan) );
|
||||
return(xcan);
|
||||
return xcan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user