Go to the documentation of this file. 1 subroutine spathz(amu0,htp,taur,taum,taua,totsp,nmodl)
3 implicit real*8 (a-h,o-z)
4 real*8 htp(1000),taur(1000),taum(1000),taua(1000),
5 1 totsp(1000),fxsp(1000)
6 real*8 dht(1000),dtr(1000),dtm(1000),dtot(1000),sum(1000)
7 real*8 hs(1000),dta(1000),yy,xx
11 snmu0=dsqrt(1.0-amu0**2)
21 dht(i)=htp(i)-htp(i+1)
22 dtr(i)=taur(i+1)-taur(i)
23 dtm(i)=taum(i+1)-taum(i)
24 dta(i)=taua(i+1)-taua(i)
27 801
format(
'i,dht,dtr,dtm,dta',i5,1p4e12.4)
39 sum(i)=sum(i)+taur(1)*chpp+taua(1)*chpo
41 fxsp(i)=amu0*exp(-sum(i))
43 xx=sqrt((hs(1)+aa)*(hs(1)-aa))
45 yy=sqrt((hs(j)+aa)*(hs(j)-aa))
48 sum(i)=sum(i)+dst*(dtr(j-1)+dtm(j-1)+dta(j-1))
50 803
format(
'i,j,xx,yy,ds,dst,sum',2i4,1p5e10.2)
54 amu=dsqrt(1.0-snmu**2)
57 sum(i)=sum(i)+taur(1)*chpp+taua(1)*chpo
59 fxsp(i)=amu0*dexp(-sum(i))
61 802
format(
'i,snmu,amu,chpp,sum(i),fxsp(i)',
64 809
format(
'i,sum,htp,fxsp',i3,1x,1p3e12.4)
subroutine chapmn(x, y, dchap)
subroutine spathz(amu0, htp, taur, taum, taua, totsp, nmodl)