Go to the source code of this file.
◆ catmoscnst1()
subroutine catmoscnst1 |
( |
| ) |
|
Definition at line 2 of file catmosCnst1.f.
References c, d, d0, fd1, and parameter().
Referenced by __atmosd.f__(), __atmosd2.f__(), __atmosd3.f__(), __atmosd4.f__(), and ciniatmos().
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)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data m
dE dx *! Nuc Int sampling table g
! to be included just before the execution code ! density as a function of height real * fd1
dE dx *! Nuc Int sampling table c
◆ catmoscnst2()
subroutine catmoscnst2 |
( |
| ) |
|
Definition at line 115 of file catmosCnst1.f.
References kcsplcoef().
Referenced by __atmosd2.f__(), __atmosd3.f__(), __atmosd4.f__(), and ciniatmos().
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)
subroutine kcsplcoef(x, y, n, coef, nc)