32 SUBROUTINE spfft1(IMAX,INCW,INCG,KMAX,W,G,IDIR)
34 INTEGER,
INTENT(IN):: IMAX,INCW,INCG,KMAX,IDIR
35 COMPLEX,
INTENT(INOUT):: W(INCW,KMAX)
36 REAL:: WREAL(INCW,KMAX)
37 REAL,
INTENT(INOUT):: G(INCG,KMAX)
38 REAL:: AUX1(25000+INT(0.82*IMAX))
39 REAL:: AUX2(20000+INT(0.57*IMAX))
42 naux1=25000+int(0.82*imax)
43 naux2=20000+int(0.57*imax)
49 CALL scrft(1,real(w),incw,g,incg,imax,kmax,-1,1.,
50 & aux1,naux1,aux2,naux2,0.,0)
51 CALL scrft(0,real(w),incw,g,incg,imax,kmax,-1,1.,
52 & aux1,naux1,aux2,naux2,0.,0)
56 CALL srcft(1,g,incg,wreal,incw,imax,kmax,+1,1./imax,
57 & aux1,naux1,aux2,naux2,0.,0)
58 CALL srcft(0,g,incg,wreal,incw,imax,kmax,+1,1./imax,
59 & aux1,naux1,aux2,naux2,0.,0)
subroutine scrft(init, x, ldx, y, ldy, n, m, isign, scale, table, n1, wrk, n2, z, nz)
Compute a set of m real discrete n-point Fourier transforms of complex conjugate even data.
subroutine srcft(init, x, ldx, y, ldy, n, m, isign, scale, table, n1, wrk, n2, z, nz)
Compute a set of m complex discrete n-point Fourier transforms of real data.
subroutine spfft1(imax, incw, incg, kmax, w, g, idir)
This subprogram performs multiple fast Fourier transforms between complex amplitudes in Fourier space...