mirror of
https://github.com/gwm17/catima.git
synced 2024-11-22 18:28:51 -05:00
improved angular scattering
This commit is contained in:
parent
73d86d925d
commit
732dddbab7
|
@ -100,7 +100,8 @@ namespace catima{
|
|||
*/
|
||||
double sezi_dedx_e(const Projectile &p, const Material &mat, const Config &c=default_config);
|
||||
|
||||
constexpr double Es2_FR =2*PI/fine_structure* electron_mass * electron_mass;
|
||||
//constexpr double Es2_FR =2*PI/fine_structure* electron_mass * electron_mass;
|
||||
constexpr double Es2_FR = 198.81;
|
||||
double angular_scattering_power(const Projectile &p, const Target &t, double Es2=Es2_FR);
|
||||
double angular_scattering_power(const Projectile &p, const Material &material, double Es2=Es2_FR);
|
||||
|
||||
|
|
|
@ -58,10 +58,6 @@ double domega2dx(const Projectile &p, const Material &mat, const Config &c){
|
|||
}
|
||||
|
||||
double da2dx(const Projectile &p, const Material &mat, const Config &c){
|
||||
//double Es2 = Es2_FR;
|
||||
//if(c.scattering == scattering_types::atima_scattering){
|
||||
// Es2 = 198.81;
|
||||
//}
|
||||
const double Es2 = 198.81;
|
||||
return angular_scattering_power(p,mat, Es2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user