Added Excitation for Electrons:

Rotational	J=0->2
Vibrational	v=0->1
Electrical	various (7 in total, see Paper from Janev 2008 for details)
This commit is contained in:
Christian
2019-06-26 12:44:47 +02:00
parent ebef3d8cdd
commit c6239dc8c7
25 changed files with 323 additions and 37 deletions
+2 -3
View File
@@ -48,7 +48,7 @@ void Simulation::doit() {
Terminator_Base *terminatorPtr;
InteractionOut IntOut;
double macroSigma_m2, mfp_m;
double macroSigma_m2;
std::deque<Particle> partQue;
Particle curPart;
vec3 oldLoc_m;
@@ -70,8 +70,7 @@ void Simulation::doit() {
while (!terminatorPtr->checkTermination(curPart)) {
oldLoc_m = curPart.get_Location_m();
macroSigma_m2 = interactionPtr->get_macroSigma_m2(curPart);
mfp_m = 1/macroSigma_m2;
moverPtr->move(&curPart, mfp_m);
moverPtr->move(&curPart, macroSigma_m2);
if (!terminatorPtr->checkTermination(curPart)) {
IntOut = interactionPtr->do_Interaction(&curPart);
for (int i=0; i<IntOut.get_number_new_particles(); i++) {