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:
@@ -39,14 +39,14 @@ public:
|
||||
}
|
||||
|
||||
void set_delete_current(const bool &delete_current) {this->delete_current = delete_current;}
|
||||
bool get_delete_current() {return (delete_current);}
|
||||
bool get_delete_current() {return delete_current;}
|
||||
|
||||
void add_new_particle(const Particle &newParticle) {
|
||||
new_particles[number_new_particles] = newParticle;
|
||||
number_new_particles++;
|
||||
}
|
||||
int get_number_new_particles() {return(number_new_particles);}
|
||||
Particle *get_new_particles() {return(new_particles);}
|
||||
int get_number_new_particles() {return number_new_particles;}
|
||||
Particle *get_new_particles() {return new_particles;}
|
||||
|
||||
void set_decrease (const species &decrease_species, const vec3 &decrease_location, const double &decrease_energy_eV) {
|
||||
this->decrease_population = true;
|
||||
@@ -54,13 +54,10 @@ public:
|
||||
this->decrease_location = decrease_location;
|
||||
this->decrease_energy_eV = decrease_energy_eV;
|
||||
}
|
||||
|
||||
|
||||
bool get_decrease_population() {return decrease_population;}
|
||||
species get_decrease_species() {return decrease_species;}
|
||||
vec3 get_decrease_location() {return decrease_location;}
|
||||
double get_decrease_energy_eV() {return decrease_energy_eV;}
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -77,6 +74,25 @@ public:
|
||||
|
||||
virtual double get_macroSigma_m2(const Particle &interPart) = 0;
|
||||
virtual InteractionOut do_Interaction (Particle *interPart) = 0;
|
||||
|
||||
protected:
|
||||
vec3 get_vOff_ms(const Particle &interPart, const double &minE_eV) {
|
||||
double m_eV = interPart.get_Mass_eV();
|
||||
vec3 v1_ms = interPart.get_Speed_ms();
|
||||
vec3 v2_ms = Population->roll_speed_ms(interPart.get_Location_m());
|
||||
vec3 v1Lab_ms = v1_ms - v2_ms;
|
||||
double T_eV = calc_Ekin_eV_from_speed(v1Lab_ms, m_eV);
|
||||
if (T_eV < minE_eV) {
|
||||
T_eV = calc_Ekin_eV_from_speed(v1_ms, m_eV);
|
||||
if (T_eV < minE_eV) {
|
||||
std::stringstream ss;
|
||||
ss<<"Sub_Interaction_Base::get_vOff_ms: T_eV < minE_eV.\n";
|
||||
throw MyException (ss.str());
|
||||
}
|
||||
return vec3(0,0,0);
|
||||
}
|
||||
return v2_ms;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user