59 real*8 m, g, k, nuc, c2, kbymg, dtdz
65 * k= 8.617
d-5, kbymg = k*c2/(m*nuc*g))
69 #include "Zstdatmosf.h" 73 dtdz = (atmos%T(i+1) - atmos%T(i))/ (atmos%z(i+1) - atmos%z(i))
74 atmos%H(i) = kbymg * atmos%T(i)
76 atmos%a(i) = kbymg * atmos%b(i)
77 atmos%d0(i) = atmos%rho(i) * atmos%H(i)
84 atmos%cumd(nodes) = atmos%rho(nodes) * hinf
87 if(atmos%a(i) .eq. 0.)
then 89 atmos%cumd(i) = atmos%cumd(i+1) +
92 * (1.0- fd0(atmos%z(i+1), atmos%z(i), atmos%H(i)))
94 atmos%cumd(i) = atmos%cumd(i+1) +
97 *
fd1(atmos%z(i+1), atmos%a(i),atmos%z(i), atmos%H(i) ) )
106 atmos%logrho(i) = log(atmos%rho(i))
107 atmos%logcumd(i) = log(atmos%cumd(i))
108 atmos%logcumdi(atmos%nodes-i+1) = atmos%logcumd(i)
109 atmos%logrhoi(atmos%nodes-i+1) = atmos%logrho(i)
110 atmos%zi(atmos%nodes-i+1) = atmos%z(i)
123 call kcsplcoef(atmos%z, atmos%logrho, nodes, atmos%coefh2r,
126 call kcsplcoef(atmos%z, atmos%logcumd, nodes, atmos%coefh2d,
132 call kcsplcoef(atmos%z, atmos%H, nodes-1, atmos%coefh2H,
135 call kcsplcoef(atmos%z, atmos%T, nodes, atmos%coefh2T,
141 call kcsplcoef(atmos%logcumdi, atmos%zi, nodes, atmos%coefd2h,
145 call kcsplcoef(atmos%logcumdi, atmos%logrhoi, nodes,
146 * atmos%coefd2r, maxnodes)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine kcsplcoef(x, y, n, coef, nc)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
! to be included just before the execution code ! density as a function of height real * fd1
dE dx *! Nuc Int sampling table c