1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-26 20:18:51 -05:00
catima/srim.h

25 lines
717 B
C
Raw Normal View History

2019-05-07 15:26:35 -04:00
namespace catima{
/**
* return srim stopping power
* @param pZ - projectile Z
* @param pZ - material Z
* @param energy - projectile energy in MeV/u unit
2019-05-10 15:02:51 -04:00
* @param use_v95 - use srim proton coefficient from version 95, otherwise version 85 will be used
2019-05-07 15:26:35 -04:00
*/
2019-05-10 15:02:51 -04:00
double srim_dedx_e(int pZ, int tZ, double energy, bool use_v95=1);
2019-05-07 15:26:35 -04:00
/**
* return SRIM proton stopping power
* @param Z - proton number of material
* @param energy - energy per nuclein in MeV/u
*/
double p_se(int Z, double energy);
double p_se95(int Z, double energy);
2019-05-10 15:02:51 -04:00
extern const double pse_95[92][8];
2019-05-07 15:26:35 -04:00
extern const double atima_lambda_screening[92];
extern const double atima_vfermi[92];
extern const double proton_stopping_coef[92][8];
}