34 subroutine mfoblt(zs, zobas, lvl)
50 dst = dstair(w3inp, zs, zobas)
60 if(ras2 .lt. rsyma2)
then 68 call mfrgas(sizei(1,1,lvl), hrasi, lszi, symm)
74 call mflcra( arhorp(1,lvl), arhorm(1,lvl), arverp(1,lvl),
75 * arverm(1,lvl), ncrsar, szarcr, rmoll, rcrosm, eno, symm)
113 subroutine mfrgas(array, hspan, nm, symm)
125 dimension array(nm,nm)
142 if(mod(nm,2) .ne. 0) mxindx=mxindx+1
158 xmsh=-hspan+(i1-2)*arrys+harrys
165 call mfnems(harrys, arrysm, xmsh, ymsh, enr)
169 array(
i,
j)=array(
i,
j)+an
199 array(k1,
j)=array(k1,
j)+an
201 array(k2,k1)=array(k2,k1) + an
203 array(
i,k2)=array(
i,k2) + an
207 array(k2,
i)=array(k2,
i) + an
209 array(
j, k1)=array(
j, k1) + an
211 array(k1,k2)=array(k1,k2) + an
215 * array(
j,
i)=array(
j,
i) + an
252 subroutine mfnems(ha, am, xmsh, ymsh, enr)
266 r=sqrt( (xmsh-xas)**2 + (ymsh-yas)**2 ) /rmoll
267 if(abs(xmsh-xas) .gt.
ha .or. abs(ymsh-yas) .gt.
ha)
then 269 if(blat .eq.
'mc')
then 270 call mnkg(age,
r, rho)
272 call nkg(age,
r, rho)
277 if(blat .eq.
'mc')
then 278 call mnkgsf(age, r0,
a,
b, cs)
280 enr=cs*2/(age+2.-
a)*am*am* rr**(age-
a)
284 enr=cs*2/age* am*am * rr**(age-2.)
335 subroutine mflcra(ahp, ahm, avp, avm, nm, aa, rmoll,
340 dimension ahp(nm),ahm(nm),avp(nm),avm(nm)
356 call mfnems(harys, arysm,
z, 0., enr)
357 ahp(k)=ahp(k) + enr*eno
360 call mfnems(harys, arysm, -
z, 0., enr)
362 ahm(k)=ahm(k) + enr*eno
365 call mfnems(harys, arysm, 0.,
z, enr)
367 avp(k)=avp(k) + enr*eno
370 call mfnems(harys, arysm, 0., -
z, enr)
372 avm(k)=avm(k) + enr*eno
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz r
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
subroutine mfrgas(array, hspan, nm, symm)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
! constants thru Cosmos real * sqrtpi
subroutine mflcra(ahp, ahm, avp, avm, nm, aa, rmoll, r1, eno, symm)
! common for std atmosphere real *AlmostVacH ! almost vacuum height real *AlmostVacT ! thickness there hlhmi common comstdatm ha
dE dx *! Nuc Int sampling table b
subroutine mfnems(ha, am, xmsh, ymsh, enr)
subroutine mfoblt(zs, zobas, lvl)
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false