17 SUBROUTINE sppad(I1,M1,Q1,I2,M2,Q2)
19 REAL Q1((M1+1)*((I1+1)*M1+2))
20 REAL Q2((M2+1)*((I2+1)*M2+2))
24 ks2=l*(2*m2+(i2-1)*(l-1))+2*n
25 IF(l.LE.m1.AND.n.LE.i1*l+m1)
THEN
26 ks1=l*(2*m1+(i1-1)*(l-1))+2*n
subroutine sppad(I1, M1, Q1, I2, M2, Q2)
Pad or truncate a spectral field.