81 write(*,*)
' input value to ksgmrs. s=',
84 elseif(s .lt. 0.)
then 115 r= (x/(n+1))**alfa/(1.-alfa + alfa*x/(n+1))
124 subroutine ksgmrm(s, av, x)
131 write(*,*)
' input value to ksgmrs. s=',
139 subroutine ksgmis(n, a, x)
149 write(*,*)
' input value to ksgmis. n=',
166 subroutine ksgmim(n, av, x)
174 write(*,*)
' input value to ksgmim. n=',n,
' invalid' 187 real*8 pi/3.14159265/, rt2i/0.70710678/, eps/0.1d0/,
188 * err/1.
d-3/, small/1.
d-30/
189 real*8 u, r, us, br, kgamma, tmp, xold, acc
204 do 100
while ( more )
206 if(u .le. (2*s+1.))
then 210 call kgauss(0.d0, rt2i, x)
214 r=(pi*x)**(s+0.5)/(-2*s + (2*s+1.)*sqrt(pi*x))
231 br=eps**(s+1.)/kgamma(s+2.) * (1.- (s+1.)/(s+2.)*eps
232 * + (s+1.)/(s+3.)/2*eps*eps )
237 us=u**(1./(s+1.))*eps
241 * (1.- (s+1.)/(s+2.)*eps+(s+1.)/(s+3)/2*eps*eps)
248 * (1.-(s+1.)/(s+2.)*xold+(s+1.)/(s+3)/2*xold*xold)
250 if(x .lt. small)
then 259 do 200
while ( more )
261 do 150
while ( more2 )
262 call kgauss(0.d0, rt2i, x)
subroutine ksgmis(n, a, x)
subroutine ksgmrm(s, av, x)
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
subroutine kgauss(m, v, g1)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
subroutine ksgmim(n, av, x)
subroutine ksgmrs(s, a, x)