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,
INTENT(INOUT):: G(INCG,KMAX)
37 REAL:: AUX1(25000+INT(0.82*IMAX))
38 REAL:: AUX2(20000+INT(0.57*IMAX))
41 naux1=25000+int(0.82*imax)
42 naux2=20000+int(0.57*imax)
47 CALL scrft(1,w,incw,g,incg,imax,kmax,-1,1.,
48 & aux1,naux1,aux2,naux2,0.,0)
49 CALL scrft(0,w,incw,g,incg,imax,kmax,-1,1.,
50 & aux1,naux1,aux2,naux2,0.,0)
54 CALL srcft(1,g,incg,w,incw,imax,kmax,+1,1./imax,
55 & aux1,naux1,aux2,naux2,0.,0)
56 CALL srcft(0,g,incg,w,incw,imax,kmax,+1,1./imax,
57 & aux1,naux1,aux2,naux2,0.,0)
subroutine scrft(init, x, ldx, y, ldy, n, m, isign, scale, table, n1, wrk, n2, z, nz)
scrft
subroutine srcft(init, x, ldx, y, ldy, n, m, isign, scale, table, n1, wrk, n2, z, nz)
srcft
subroutine spfft1(IMAX, INCW, INCG, KMAX, W, G, IDIR)
This subprogram performs multiple fast Fourier transforms between complex amplitudes in Fourier space...