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:
@@ -22,7 +22,6 @@ public:
|
||||
double get_macroSigma_m2(const Particle &interPart);
|
||||
InteractionOut do_Interaction (Particle *interPart);
|
||||
private:
|
||||
double calc_T_eV(Particle *interPart, vec3 *v2_ms);
|
||||
virtual double get_microSigma_m2(const double &Ekin_EV) = 0;
|
||||
};
|
||||
|
||||
@@ -32,31 +31,18 @@ inline double Excitation_Base::get_macroSigma_m2(const Particle &interPart) {
|
||||
double microSigma_m2 = get_microSigma_m2(Ekin_eV);
|
||||
vec3 loc_m = interPart.get_Location_m();
|
||||
double n_m3 = Population->get_density_m3(loc_m);
|
||||
return (microSigma_m2*n_m3);
|
||||
return microSigma_m2*n_m3;
|
||||
}
|
||||
|
||||
inline InteractionOut Excitation_Base::do_Interaction (Particle *interPart) {
|
||||
double Tnew_eV = interPart->get_EKin_eV() - deltaE_eV;
|
||||
vec3 vnew_ms = roll_uniform_direction(rngUni) * calc_Speed_from_Ekin_eV(Tnew_eV, interPart->get_Mass_eV());
|
||||
vec3 vOff_ms = get_vOff_ms(*interPart, deltaE_eV);
|
||||
vec3 vLab_ms = interPart->get_Speed_ms() - vOff_ms;
|
||||
double EkinLab_eV = calc_Ekin_eV_from_speed(vLab_ms, me_eV);
|
||||
double EkinLabNew_eV = EkinLab_eV - deltaE_eV;
|
||||
vec3 vnew_ms = roll_uniform_direction(rngUni) * calc_Speed_from_Ekin_eV(EkinLabNew_eV, me_eV) + vOff_ms;
|
||||
interPart->set_Speed_ms(vnew_ms);
|
||||
|
||||
return (InteractionOut());
|
||||
}
|
||||
|
||||
inline double Excitation_Base::calc_T_eV(Particle *interPart, vec3 *v2_ms) {
|
||||
vec3 v_ms = interPart->get_Speed_ms();
|
||||
vec3 vLab_ms = v_ms - *v2_ms;
|
||||
double T_eV = calc_Ekin_eV_from_speed(vLab_ms, me_eV);
|
||||
if (T_eV < deltaE_eV) {
|
||||
*v2_ms = 0;
|
||||
T_eV = calc_Ekin_eV_from_speed(v_ms, me_eV);
|
||||
if (T_eV < deltaE_eV) {
|
||||
std::stringstream ss;
|
||||
ss<<"Excitation_Base::calc_T_eV: T_eV < deltaE_eV \n";
|
||||
throw MyException (ss.str());
|
||||
}
|
||||
}
|
||||
return (T_eV);
|
||||
return InteractionOut();
|
||||
}
|
||||
|
||||
|
||||
@@ -75,4 +61,6 @@ private:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
#endif /* exc_base_h */
|
||||
|
||||
Reference in New Issue
Block a user