COSMOS v7.655  COSMOSv7655
(AirShowerMC)
ck23.f File Reference

Go to the source code of this file.

Functions/Subroutines

real *8 function ck23 (x)
 

Function/Subroutine Documentation

◆ ck23()

real*8 function ck23 ( real*8  x)

Definition at line 18 of file ck23.f.

References d, and e.

18 ! compute K2/3(x) within 5 digit accuracy.
19 ! this uses the result of makepolfork23
20  implicit none
21  real*8 x
22  real*8 pi/3.14159265/, xl
23 
24  if(x .lt. 1.d-1) then
25  ck23 = 1.074764 * x**(-2./3)
26  if(x .gt. 0.001) then
27  ck23 =ck23 * ( (( 24.87215 *x -4.845528)*x -0.2195235)*x
28  * + 1.000107 )
29  endif
30  else
31  ck23 = exp(-x)* sqrt(pi/2/x)
32  if(x .lt. 30.) then
33  xl = log(x)
34  ck23 = ck23* ( (( -0.2016376e-02*xl + 0.1788832e-01)*xl
35  * -0.5794207e-01)*xl + 1.072769 )
36  endif
37  endif
real *8 function ck23(x)
Definition: ck23.f:18
dE dx *! Nuc Int sampling table e
Definition: cblkMuInt.h:130
! constants thru Cosmos real * pi
Definition: Zglobalc.h:2
dE dx *! Nuc Int sampling table d
Definition: cblkMuInt.h:130
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
Definition: Zptcl.h:21