mirror of
https://github.com/gwm17/catima.git
synced 2025-01-30 17:58:49 -05:00
commit
16dd46f0a9
|
@ -409,6 +409,8 @@ def get_data(Projectile projectile, Material material, Config config = default_c
|
||||||
# constants
|
# constants
|
||||||
max_datapoints = catimac.max_datapoints
|
max_datapoints = catimac.max_datapoints
|
||||||
max_storage_data = catimac.max_storage_data
|
max_storage_data = catimac.max_storage_data
|
||||||
|
logEmin = catimac.logEmin
|
||||||
|
logEmax = catimac.logEmax
|
||||||
|
|
||||||
def energy_table(unsigned int i):
|
def energy_table(unsigned int i):
|
||||||
if(i<catimac.energy_table.num):
|
if(i<catimac.energy_table.num):
|
||||||
|
@ -431,3 +433,9 @@ def storage_info():
|
||||||
matter.append([e.first.A,e.first.Z,e.second])
|
matter.append([e.first.A,e.first.Z,e.second])
|
||||||
res.append({"projectile":[data.p.A,data.p.Z],"matter":matter})
|
res.append({"projectile":[data.p.A,data.p.Z],"matter":matter})
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
def catima_info():
|
||||||
|
print("CATIMA version = 1.0")
|
||||||
|
print("number of energy points = %g"%max_datapoints)
|
||||||
|
print("min energy point = 10^%g MeV/u"%logEmin)
|
||||||
|
print("max energy point = 10^%g MeV/u"%logEmax)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user