1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-26 12:08:52 -05:00
This commit is contained in:
hrocho 2017-12-14 15:12:31 +01:00
parent ac5a6d0048
commit 46979cb258

View File

@ -49,7 +49,7 @@ double domega2dx(Projectile &p, double T, const Material &mat, const Config &c){
t = res.first; //struct of target
w = res.second; //number of atoms of the element
p.T = T;
sum += t.A*w*dedx_rms(p,t);
sum += t.A*w*dedx_variance(p,t);
}
return sum/mat.M();
}