1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-22 18:28:51 -05:00
catima/srim.h
2019-05-10 21:02:51 +02:00

25 lines
717 B
C++

namespace catima{
/**
* return srim stopping power
* @param pZ - projectile Z
* @param pZ - material Z
* @param energy - projectile energy in MeV/u unit
* @param use_v95 - use srim proton coefficient from version 95, otherwise version 85 will be used
*/
double srim_dedx_e(int pZ, int tZ, double energy, bool use_v95=1);
/**
* 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);
extern const double pse_95[92][8];
extern const double atima_lambda_screening[92];
extern const double atima_vfermi[92];
extern const double proton_stopping_coef[92][8];
}