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
+2 -19
View File
@@ -29,19 +29,10 @@ public:
this->dcs_gen = dcs_gen;
}
double get_macroSigma_m2(const Particle &interPart);
double get_microSigma_m2(const double &E_eV) {return tcs_data.get_value(E_eV);}
InteractionOut do_Interaction (Particle *interPart);
};
inline double eT2_Elastic::get_macroSigma_m2(const Particle &interPart) {
double E_eV = interPart.get_E_eV();
double microSigma_m2 = tcs_data.get_value(E_eV);
vec3 loc_m = interPart.get_x_m();
double nT2_m3 = Population->get_density_m3(loc_m);
return microSigma_m2*nT2_m3;
}
inline InteractionOut eT2_Elastic::do_Interaction (Particle *interPart) {
// Here theta and phi are COM-Angles.... prob not correct. For m1 << m2 COM - Angle ~ Lab Angle
vec3 v1_ms = interPart->get_v_ms();
@@ -68,19 +59,11 @@ public:
kinematics = Elastic_Kinematic_Base(me_eV, 2*mT_eV);
};
double get_macroSigma_m2(const Particle &interPart);
double get_microSigma_m2(const double &E_eV) {return Uehara_eT2_ElasticScattering::calc_TCS(E_eV);}
InteractionOut do_Interaction (Particle *interPart);
};
inline double eT2_Elastic_Analytic::get_macroSigma_m2(const Particle &interPart) {
double E_eV = interPart.get_E_eV();
double microSigma_m2 = Uehara_eT2_ElasticScattering::calc_TCS(E_eV);
vec3 loc_m = interPart.get_x_m();
double nT2_m3 = Population->get_density_m3(loc_m);
return microSigma_m2*nT2_m3;
}
inline InteractionOut eT2_Elastic_Analytic::do_Interaction (Particle *interPart) {
// Here theta and phi are COM-Angles.... prob not correct. For m1 << m2 COM - Angle ~ Lab Angle
vec3 v1_ms = interPart->get_v_ms();