Added recombination on T3+ side.

Reworked minor changes in structure and integration over energetic population container.
This commit is contained in:
Christian
2019-07-29 16:20:29 +02:00
parent 959b317590
commit 338d45f2d2
17 changed files with 129 additions and 114 deletions
-10
View File
@@ -21,21 +21,11 @@ public:
this->dcs_gen = dcs_gen;
}
double get_macroSigma_m2(const Particle &interPart);
InteractionOut do_Interaction (Particle *interPart);
private:
virtual double get_microSigma_m2(const double &Ekin_EV) = 0;
};
inline double Excitation_Base::get_macroSigma_m2(const Particle &interPart) {
double E_eV = interPart.get_E_eV();
double microSigma_m2 = get_microSigma_m2(E_eV);
vec3 loc_m = interPart.get_x_m();
double n_m3 = Population->get_density_m3(loc_m);
return microSigma_m2*n_m3;
}
inline InteractionOut Excitation_Base::do_Interaction (Particle *interPart) {
vec3 vOff_ms = get_vOff_ms(*interPart, deltaE_eV);
vec3 vLab_ms = interPart->get_v_ms() - vOff_ms;