Minior Changes on new structure, exported elastic cross section to seperate file.

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Christian
2019-05-02 13:29:21 +02:00
parent e07c03c888
commit 649c278084
33 changed files with 631 additions and 595 deletions
+14 -12
View File
@@ -9,18 +9,20 @@
#ifndef uehara_eT2_elastic_hpp
#define uehara_eT2_elastic_hpp
/*
namespace Uehara_eT2_Elastic {
double get_TCS(double Ekin_eV);
double get_SDCS(double Ekin_eV, double theta);
#include "random_operations.h"
// Cross secton by Uehara 1993: Rutherford CS with screening parameter. Originally for water vapor.
class Uehara_eT2_ElasticScattering {
public:
Uehara_eT2_ElasticScattering(){};
static double calc_TCS(const double &T_eV);
static double calc_SDCS(const double &T_eV, const double &theta);
double get_elaEta(vec3 speedLab_ms) const {
double Ekin_eVLab_eV = get_Ekin_eV_from_speed(speedLab_ms, me_eV);
double betaLab = get_vecAbs(speedLab_ms)/c_ms;
double etac = (Ekin_eVLab_eV < 50e3)? 1.198 : 1.13+3.76*pow(ZT2/(137*betaLab),2);
double elaTau = Ekin_eVLab_eV/me_eV;
return (etac * 1.7e-5 * pow(ZT2,2./3.) /(elaTau*(elaTau+2) ));
}
*/
static double roll_theta(const double &T_eV, UniRNG *rngUni);
private:
static double calc_eta(const double &T_eV);
};
#endif /* uehara_eT2_elastic_hpp */