mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 20:18:51 -05:00
python module
This commit is contained in:
parent
1e61ef9d8f
commit
1846fd625f
|
@ -107,7 +107,6 @@ double bethek_dedx_e(Projectile &p, const Target &t, const Config &c){
|
||||||
//double LS = bethek_lindhard(p);
|
//double LS = bethek_lindhard(p);
|
||||||
LS = precalculated_lindhard(p);
|
LS = precalculated_lindhard(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
double result = (f2)*barkas + LS - delta/2.;
|
double result = (f2)*barkas + LS - delta/2.;
|
||||||
result *=f1;
|
result *=f1;
|
||||||
|
|
||||||
|
|
|
@ -485,11 +485,11 @@ def storage_info():
|
||||||
for j in range(data.m.ncomponents()):
|
for j in range(data.m.ncomponents()):
|
||||||
e = data.m.get_element(j)
|
e = data.m.get_element(j)
|
||||||
matter.append([e.A,e.Z,e.stn])
|
matter.append([e.A,e.Z,e.stn])
|
||||||
res.append({"projectile":[data.p.A,data.p.Z],"matter":matter})
|
res.append({"projectile":[data.p.A,data.p.Z],"matter":matter, "config":data.config})
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def catima_info():
|
def catima_info():
|
||||||
print("CATIMA version = 1.0")
|
print("CATIMA version = 1.1")
|
||||||
print("number of energy points = %g"%max_datapoints)
|
print("number of energy points = %g"%max_datapoints)
|
||||||
print("min energy point = 10^%g MeV/u"%logEmin)
|
print("min energy point = 10^%g MeV/u"%logEmin)
|
||||||
print("max energy point = 10^%g MeV/u"%logEmax)
|
print("max energy point = 10^%g MeV/u"%logEmax)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user