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

Go to the source code of this file.

Functions/Subroutines

real *8 function cmpairspec (xai, x)
 

Function/Subroutine Documentation

◆ cmpairspec()

real*8 function cmpairspec ( real*8  xai,
real*8  x 
)

Definition at line 15 of file cmPairSpec.f.

15  implicit none
16 ! This computes electron energy distribution function
17 ! The value dose not contain the coefficient which is
18 ! SyncCoef/(3Piroot(3))/Eg -->unit is /m
19  real*8 xai ! input. Earger's (1966) xai = Eg/m * B/Bc/2
20  real*8 x ! input. Fractional electron energy. Ee/Eg
21 !
22  real*8 y, v, ck23
23 
24  if(x .eq. 1. .or. x .eq. 0.) then
25  cmpairspec = 0.
26  else
27  v = 1. - 2*x
28  y = 4./(3.*xai) /(1.-v**2)
29  cmpairspec = (9.- v*v)/(1.-v*v) * ck23(y)
30  endif
real *8 function ck23(x)
Definition: ck23.f:18
real *8 function cmpairspec(xai, x)
Definition: cmPairSpec.f:15
latitude latitude this system is used *****************************************************************! type coord sequence union map real y
Definition: Zcoord.h:25
! 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