Added some recombination and cluster formation channels.

Changed Parameter names to be more consistent.
This commit is contained in:
Christian
2019-10-14 15:37:45 +02:00
parent fe06550c8d
commit 3ddf92fd75
55 changed files with 543 additions and 355 deletions
+6 -1
View File
@@ -17,9 +17,10 @@ public:
E_Mover_Drift(Particle_Logger_Base *Logger, Population_Base *Population) : Drift_Base(electron, Logger, Population) {};
protected:
void doWallInteraction(Particle *movePart, vec3 *oldLoc_m, double *znew_m);
void do_E_calculus(Particle *movePart, const vec3 &oldLoc_m, const double &macroSigma_m);
};
void E_Mover_Drift::doWallInteraction(Particle *movePart, vec3 *oldLoc_m, double *znew_m) {
inline void E_Mover_Drift::doWallInteraction(Particle *movePart, vec3 *oldLoc_m, double *znew_m) {
if (*znew_m >= z_WGTS_end_m) { // Moveing into Spectrometer and reversing Speed.
vec3 reverseLoc_m = *oldLoc_m;
@@ -40,4 +41,8 @@ void E_Mover_Drift::doWallInteraction(Particle *movePart, vec3 *oldLoc_m, double
}
}
inline void E_Mover_Drift::do_E_calculus(Particle *movePart, const vec3 &oldLoc_m, const double &macroSigma_m) {
return;
}
#endif /* electron_drift_h */