mirror of
https://github.com/gwm17/catima.git
synced 2024-11-23 02:38:51 -05:00
python
This commit is contained in:
parent
915fc12a02
commit
6a15431a58
|
@ -449,6 +449,12 @@ def energy_out(Projectile projectile, Material material, energy = None, Config c
|
||||||
energy = projectile.T()
|
energy = projectile.T()
|
||||||
return catimac.energy_out(projectile.cbase, energy, material.cbase, config.cbase)
|
return catimac.energy_out(projectile.cbase, energy, material.cbase, config.cbase)
|
||||||
|
|
||||||
|
def sezi_dedx_e(Projectile projectile, Target t):
|
||||||
|
return catimac.sezi_dedx_e(projectile.cbase, t.cbase)
|
||||||
|
|
||||||
|
def bethek_dedx_e(Projectile projectile, Target t, Config c = default_config, Ipot=0.0):
|
||||||
|
return catimac.bethek_dedx_e(projectile.cbase, t.cbase,c.cbase,Ipot)
|
||||||
|
|
||||||
def lindhard(Projectile projectile):
|
def lindhard(Projectile projectile):
|
||||||
return catimac.bethek_lindhard(projectile.cbase);
|
return catimac.bethek_lindhard(projectile.cbase);
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,8 @@ cdef extern from "catima/catima.h" namespace "catima":
|
||||||
cdef extern from "catima/calculations.h" namespace "catima":
|
cdef extern from "catima/calculations.h" namespace "catima":
|
||||||
cdef double bethek_lindhard(const Projectile &p);
|
cdef double bethek_lindhard(const Projectile &p);
|
||||||
cdef double bethek_lindhard_X(const Projectile &p);
|
cdef double bethek_lindhard_X(const Projectile &p);
|
||||||
|
cdef double bethek_dedx_e(Projectile &p,const Target &t, const Config &c, double I);
|
||||||
|
cdef double sezi_dedx_e(const Projectile &p, const Target &t);
|
||||||
cdef double z_effective(const Projectile &p, const Target &t, const Config &c);
|
cdef double z_effective(const Projectile &p, const Target &t, const Config &c);
|
||||||
cdef double z_eff_Pierce_Blann(double z, double beta);
|
cdef double z_eff_Pierce_Blann(double z, double beta);
|
||||||
cdef double z_eff_Anthony_Landford(double pz, double beta, double tz);
|
cdef double z_eff_Anthony_Landford(double pz, double beta, double tz);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user