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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user