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:
@@ -9,7 +9,7 @@
|
||||
#ifndef zylindric_cords_h
|
||||
#define zylindric_cords_h
|
||||
|
||||
typedef enum cordStyle{xyz, zrphi} cordStyle;
|
||||
enum cordStyle{xyz, zrphi};
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -41,7 +41,7 @@ private:
|
||||
public:
|
||||
std::vector<vec3> get_bins() ;
|
||||
|
||||
double get_l_m () {return(l_m);}
|
||||
double get_l_m () {return l_m;}
|
||||
double get_V_m3(double r_m) ;
|
||||
|
||||
public:
|
||||
@@ -117,7 +117,7 @@ inline std::vector<vec3> Zylindric_Cords::get_bins() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return (res);
|
||||
return res;
|
||||
}
|
||||
|
||||
inline double Zylindric_Cords::get_V_m3(double r_m) {
|
||||
@@ -126,7 +126,7 @@ inline double Zylindric_Cords::get_V_m3(double r_m) {
|
||||
ss<<"Zylindric_Cords::get_V_m3: r_m not in Container.\n";
|
||||
throw MyException (ss.str());
|
||||
}
|
||||
return(V_m3.lower_bound(r_m))->second;
|
||||
return V_m3.lower_bound(r_m)->second;
|
||||
|
||||
}
|
||||
|
||||
@@ -140,29 +140,29 @@ inline void Zylindric_Cords::check_In_Container(vec3 Cords, cordStyle cordStyleI
|
||||
|
||||
inline bool Zylindric_Cords::in_Container(vec3 Cords, cordStyle cordStyleIn) {
|
||||
Cords = transformTo_zrphiCords(Cords, cordStyleIn);
|
||||
return (in_zDimension(Cords[0]) && in_rDimension(Cords[1]));
|
||||
return in_zDimension(Cords[0]) && in_rDimension(Cords[1]);
|
||||
}
|
||||
|
||||
inline bool Zylindric_Cords::in_zDimension (double z_m) {
|
||||
if (z_m<z_min_m) {
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
if (z_m>z_max_m) {
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
return (true);
|
||||
return true;
|
||||
}
|
||||
|
||||
inline bool Zylindric_Cords::in_rDimension (double r_m) {
|
||||
if (r_m>r_max_m) {
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
return (true);
|
||||
return true;
|
||||
}
|
||||
|
||||
inline vec3 Zylindric_Cords::transformTo_zrphiCords(vec3 Cords, cordStyle cordStyleIn) {
|
||||
if (cordStyleIn == zrphi) {
|
||||
return (Cords);
|
||||
return Cords;
|
||||
}
|
||||
double z = Cords[2];
|
||||
double r = sqrt(Cords[0]*Cords[0] + Cords[1]*Cords[1]);
|
||||
@@ -172,7 +172,7 @@ inline vec3 Zylindric_Cords::transformTo_zrphiCords(vec3 Cords, cordStyle cordSt
|
||||
} else {
|
||||
phi = 2*pi - acos(Cords[1]/r);
|
||||
}
|
||||
return (vec3(z,r,phi));
|
||||
return vec3(z,r,phi);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user