1 #include "BlockData/cblkGene.h" 6 #include "ZcosmosExt.h" 12 real*8 cvh2den, cvh2denp, cvh2den2p, cvh2temp, cthick2h
13 real*8 cvh2scaleh, cvh2thick, cthick2den, h
16 real*8 d0, d, rho0, dep0
24 integer ndep, nstep, detail
25 parameter(detail=8, nstep=4*detail,
d=rl/nstep, ndep=nstep*25)
26 real*8 h1(0:ndep), t(0:ndep), dep(0:ndep), rho(0:ndep),
45 write(0,*)
'Enter starting depth in g/cm2' 49 *
'# depth(g/cm2) height(m) rho(g/cm3) rho/rho0' 56 write(0,
'(1p5G13.5)') dep(
i), h1(
i), rho(
i), rhoc(
i)
59 write(*,
'(a,f8.2,a,f8.2, a, i1, a)')
60 *
"# atmosphere from depth ",
d0,
" to ", dep(ndep),
61 *
" g/cm2 with step 2/", nstep,
"r.l" 62 write(*,
'(a)')
'--------------------------------------------' 64 if(mod(
i,2) .eq. 0)
then 65 if(mod(
i,nstep) .ne. 0)
then 66 write(*,
'(i3, a, f7.5, a, 1p, g12.5)')
67 *
i/2+1,
" box Air*",rhoc(
i+1),
68 *
" 0 = 0 / = = + = = ",
69 * ( h1(
i)-h1(
i+2) )*100.
72 write(*,
'(i3, a, f7.5, a, 1p, g12.5)')
73 *
i/2+1,
" box Air*",rhoc(
i+1),
74 *
" 0 1 0 / 0 0 0 1.e6 1.e6 ",
75 * ( h1(
i)-h1(
i+2) )*100.
77 write(*,
'(i3, a, f7.5, a, 1p, g12.5)')
78 *
i/2+1,
" box Air*",rhoc(
i+1),
79 *
" 1 = 0 / = = + = = ",
80 * ( h1(
i)-h1(
i+2) )*100.
86 *
'------------------------------------------' 88 *
" next can be used as DepthList definition in Cosmos" 89 write(*,*)
"HeightOfInj=", h1(0)
90 write(*,
'(" DepthList=")')
92 * (dep(
i)*10.,
i=nstep,ndep,nstep)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
real(8) function cthick2den(t)
subroutine creadparam(io)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
nodes a atmos atmos temp real * cthick2h
dE dx *! Nuc Int sampling table d