COSMOS v7.655  COSMOSv7655
(AirShowerMC)
catmosrho.f
Go to the documentation of this file.
1 ! -----------------------------------------
2 ! density of air at x from starting point rs and angle coss
3 !
4  real*8 function catmosrho(x)
5  implicit none
6  real*8 x
7 
8 !---- include 'Zearth.h'
9 #include "Zearth.h"
10  real*8 cvh2den, zp
11  common /ccatmosrho/ coss, rs
12  real*8 coss, rs
13 !
14  real*8 cnewh
15 !
16 ! radius at x
17 
18  zp = cnewh(rs, coss, x) - eradius
19  catmosrho = cvh2den(zp)
20  end
real *8 function catmosrho(x)
Definition: catmosrho.f:5