5 implicit real*8 (a-h,o-z)
6 include
'common_all.cmn'
9 x = amu * amup + anu * anup * coosn
12 if(x.lt.-1.0d0)x=-1.0d0
13 if(xabs .lt. 1.0e-6)x=0.0
14 xza=dacos(x)*57.29578d0
16 213
format(
'mats kk,ii,l,amup,amu,anup,anu,coosn,x'/3i3,7f7.3)
32 1253
format(
'mtz,y,mt,tf1,tf',i3,1x,1pe11.3,1x,i3,1x,1p2e11.3)
33 call xntpln(tf,tfm1,tfp1,t(mt,1),t(mt+1,1),tmt1)
34 call xntpln(tf,tfm1,tfp1,t(mt,2),t(mt+1,2),tmt2)
35 call xntpln(tf,tfm1,tfp1,t(mt,3),t(mt+1,3),tmt3)
36 call xntpln(tf,tfm1,tfp1,t(mt,4),t(mt+1,4),tmt4)
44 565
format(
'kk,ii,l,mt,xza,tf,tfm1,tfp1,tm1,tm+1,tmt1'/
45 1 3i3,i5,0p4f8.3,1p3e11.3)
47 p(1,l)=cfisq*tmt1+sisq*tmt2+2.0d0*sifi*tmt3
48 p(2,l)=sfisq*(amups*tmt1+amusq*tmt2+2.0d0*amumu*tmt3)
49 p(3,l)=siin*(amup*coosn*tmt1+amu*copsi*tmt2+(amup*copsi+
51 p(4,l)=siin*(amu*coosn-amup*copsi)*tmt4
52 p(5,l)=sfisq*(amups*tmt2+amusq*tmt1+2.0d0*amumu*tmt3)
53 p(6,l)=sisq*tmt1+cfisq*tmt2+2.0d0*sifi*tmt3
55 pmats=
const*0.5d0*(p(1,l)+p(2,l)+p(5,l)+p(6,l))*4.0d0*
pi
57 560
format(
'kk,ii,l,mt,xza,tf,tfm1,tfp1,tmt1,tmt2,pmats'/
58 1 3i3,i5,0p4f8.3,1p3e11.3)
60 p(7,l)=-siin*(amup*coosn*tmt2+amu*copsi*tmt1+(amup*copsi+
63 p(9,l) = -2.0d0*siin*(amu*coosn*tmt1+amup*copsi*tmt2+
64 1 (amup*coosn+amu*copsi)*tmt3)
65 p(10,l) = 2.0d0*siin*(amu*coosn*tmt2+amup*copsi*tmt1+
66 1 (amup*coosn+amu*copsi)*tmt3)
67 p(11,l)=(sifi-amumu*sfisq)*(tmt1+tmt2)+(cfisq+sisq-sfisq
69 p(12,l)=(cfisq-sisq-sfisq*(amusq-amups))*tmt4
70 p(13,l) = -2.0d0*siin*(amu*copsi-amup*coosn)*tmt4
72 p(15,l)=(sisq-cfisq-sfisq*(amusq-amups))*tmt4
73 p(16,l)=(sifi+amumu*sfisq)*(tmt1+tmt2)+(cfisq+sisq+sfisq
77 p(19,l)=amu*copsi*siin
81 p(23,l)=-amup*coosn*siin
83 p(25,l) = -2.0d0*amup*copsi*siin
84 p(26,l) = 2.0d0*amu*coosn*siin
85 p(27,l)=-amumu*sfisq+sifi
90 p(32,l)=amumu*sfisq+sifi
93 121
format(
'mtrx..ipol,rho,gamma,agm,bgm,cgm',i2,1x,1p5e11.3)
99 if(i.eq.3 .or. j.eq.3)dgm=0.0d0
100 p(k,l)=agm*p(k,l)+dgm