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:
Christian
2019-07-04 10:24:36 +02:00
parent 6ba3de7c6c
commit 4b744769c6
69 changed files with 843 additions and 378 deletions
+11 -5
View File
@@ -19,6 +19,9 @@ std::string get_species_string(const species &spec) {
case electron:
res = "e-";
break;
case tritium:
res = "T";
break;
case tritiumI:
res = "T+";
break;
@@ -33,18 +36,19 @@ std::string get_species_string(const species &spec) {
ss<<"get_species_string: Species not defined\n";
throw MyException(ss.str());
}
return (res);
return res;
}
species get_species_from_string(const std::string &species_string) {
std::vector<species> all;
all.push_back(electron);
all.push_back(tritium);
all.push_back(tritiumI);
all.push_back(tritium2I);
all.push_back(tritium2);
for (std::vector<species>::iterator Itr = all.begin(); Itr!= all.end(); Itr++) {
if (get_species_string(*Itr) == species_string) {
return (*Itr);
return *Itr;
}
}
stringstream ss;
@@ -58,6 +62,9 @@ double get_species_mass(const species &spec) {
case electron:
res = me_eV;
break;
case tritium:
res = mT_eV;
break;
case tritiumI:
res = mT_eV;
break;
@@ -72,13 +79,13 @@ double get_species_mass(const species &spec) {
ss<<"get_species_mass: Species not defined\n";
throw MyException(ss.str());
}
return (res);
return res;
}
ostream& operator<<(ostream& os, const species& spec) {
os<<get_species_string(spec);
return (os);
return os;
}
ostream& operator<<(ostream& os, const Particle& partOut) {
@@ -107,4 +114,3 @@ Particle::Particle(double mass_eV, double charge_e,vec3 loc_m, vec3 speed_ms, do
s = spec;
}