22 SUBROUTINE spfftpt(M,N,INCW,INCG,KMAX,RLON,W,G)
25 INTEGER,
INTENT(IN):: M,N,INCW,INCG,KMAX
26 REAL,
INTENT(IN):: RLON(N)
27 REAL,
INTENT(IN):: W(2*INCW,KMAX)
28 REAL,
INTENT(OUT):: G(INCG,KMAX)
30 REAL RADLON,SLON(M),CLON(M)
31 REAL,
PARAMETER:: PI=3.14159265358979
44 g(i,k)=g(i,k)+2.*(w(2*l+1,k)*clon(l)-w(2*l+2,k)*slon(l))
subroutine spfftpt(M, N, INCW, INCG, KMAX, RLON, W, G)
This subprogram computes a slow Fourier transform from Fourier space to a set of gridpoints.