2 I(MEND1,NEND1,JEND1,MNWAV,IMAX,JMAX,IMX ,JMAXHF,
3 I IFAX ,TRIGS,PNM ,DPNM ,IPXY,IPSL,QPAI,
7 DIMENSION QPAI(2,MNWAV)
10 c DIMENSION IFAX(10),TRIGS(500)
11 DIMENSION IFAX(10),TRIGS(IMAX)
12 C...WARNING: THE DIMENSION OF GDAT,GWRK SHOULD BE .GE. IMX*JMAX*3
14 DIMENSION GDAT(IMAX,JMAX,3) ,GWRK(IMAX,JMAX,3)
15 DIMENSION PNM (MNWAV,JMAXHF),DPNM(MNWAV,JMAXHF)
16 C...IPXY=1; OUTPUT OF THIS SUBR. IS PS,D(PS)/DX,D(PS)/DY
20 I(MEND1,NEND1,JEND1,MNWAV,IMAX,JMAX,JMAXHF, 1, 1, PNM,QPAI,
26 I(MEND1,NEND1,JEND1,MNWAV,IMAX,JMAX,JMAXHF, 1, 0,DPNM,QPAI,
31 GDAT(2*M-1,J,2)=-FLOAT(M-1)*GDAT(2*M ,J,1)
32 GDAT(2*M ,J,2)=+FLOAT(M-1)*GDAT(2*M-1,J,1)
35 DO 120 I=2*MEND1+1,IMAX
42 CALL FFT991(GDAT,TRIGS,IFAX,1,IMX,IMAX,LOT,1)
43 C CALL FFT991(GDAT,GWRK,TRIGS,IFAX,1,IMX,IMAX,LOT,1)
50 GDAT(I,J,2)=GDAT(I,J,2)*X
51 GDAT(I,J,3)=GDAT(I,J,3)*X