33 SUBROUTINE spsynth(I,M,IM,IX,NC,NCTOP,KM,CLAT,PLN,PLNTOP,MP,
36 REAL PLN((M+1)*((I+1)*M+2)/2),PLNTOP(M+1)
38 REAL SPC(NC,KM),SPCTOP(NCTOP,KM)
67 f(2*l+1,1,k)=plntop(l+1)*spctop(2*l+1,k)
68 f(2*l+2,1,k)=plntop(l+1)*spctop(2*l+2,k)
70 f(2*l+1,2,k)=plntop(l+1)*spctop(2*l+1,k)
71 f(2*l+2,2,k)=plntop(l+1)*spctop(2*l+2,k)
77 ks=l*(2*m+(i-1)*(l-1))
80 f(2*l+1,1,k)=f(2*l+1,1,k)+pln(kp+n)*spc(ks+2*n+1,k)
81 f(2*l+2,1,k)=f(2*l+2,1,k)+pln(kp+n)*spc(ks+2*n+2,k)
84 f(2*l+1,2,k)=f(2*l+1,2,k)+pln(kp+n)*spc(ks+2*n+1,k)
85 f(2*l+2,2,k)=f(2*l+2,2,k)+pln(kp+n)*spc(ks+2*n+2,k)
91 f(2*l+1,1,k)=f1r+f(2*l+1,2,k)
92 f(2*l+2,1,k)=f1i+f(2*l+2,2,k)
93 f(2*l+1,2,k)=f1r-f(2*l+1,2,k)
94 f(2*l+2,2,k)=f1i-f(2*l+2,2,k)
111 f(2*l+1,le,k)=plntop(l+1)*spctop(2*l+1,k)
112 f(2*l+2,le,k)=plntop(l+1)*spctop(2*l+2,k)
115 f(2*l+1,lo,k)=plntop(l+1)*spctop(2*l+1,k)
116 f(2*l+2,lo,k)=plntop(l+1)*spctop(2*l+2,k)
122 ks=l*(2*m+(i-1)*(l-1))
125 f(2*l+1,1,k)=f(2*l+1,1,k)+pln(kp+n)*spc(ks+2*n+1,k)
126 f(2*l+2,1,k)=f(2*l+2,1,k)+pln(kp+n)*spc(ks+2*n+2,k)
129 f(2*l+1,2,k)=f(2*l+1,2,k)+pln(kp+n)*spc(ks+2*n+1,k)
130 f(2*l+2,2,k)=f(2*l+2,2,k)+pln(kp+n)*spc(ks+2*n+2,k)
139 f(2*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