35 SUBROUTINE spfft1(IMAX,INCW,INCG,KMAX,W,G,IDIR)
37 INTEGER,
INTENT(IN):: IMAX,INCW,INCG,KMAX,IDIR
38 COMPLEX,
INTENT(INOUT):: W(INCW,KMAX)
39 REAL,
INTENT(INOUT):: G(INCG,KMAX)
40 REAL:: AUX1(25000+INT(0.82*IMAX))
41 REAL:: AUX2(20000+INT(0.57*IMAX))
44 naux1=25000+int(0.82*imax)
45 naux2=20000+int(0.57*imax)
50 CALL scrft(1,w,incw,g,incg,imax,kmax,-1,1.,
51 & aux1,naux1,aux2,naux2,0.,0)
52 CALL scrft(0,w,incw,g,incg,imax,kmax,-1,1.,
53 & aux1,naux1,aux2,naux2,0.,0)
57 CALL srcft(1,g,incg,w,incw,imax,kmax,+1,1./imax,
58 & aux1,naux1,aux2,naux2,0.,0)
59 CALL srcft(0,g,incg,w,incw,imax,kmax,+1,1./imax,
60 & aux1,naux1,aux2,naux2,0.,0)