1 C***********************************************************************
2 SUBROUTINE RADFGM (INC,LOT,IDO,IP,L1,IDL1,CC,C1,C2,CH,CH2,WA)
3 DIMENSION CH(INC,IDO,L1,IP) ,CC(INC,IDO,IP,L1)
4 1 ,C1(INC,IDO,L1,IP) ,C2(INC,IDL1,IP)
5 2 ,CH2(INC,IDL1,IP) ,WA(*)
6 REAL*8 ARG,DCP,DSP,AR1,AI1,AR1H,DC2,DS2,AR2,AI2,AR2H,TPI
7 DATA TPI /6.283185307179590/
18 IF (IDO .EQ. 1) GO TO 1000
21 101 CH2(L,IK,1) = C2(L,IK,1)
25 103 CH(L,1,K,J) = C1(L,1,K,J)
37 * WA(IDIJ-1)*C1(L,I-1,K,J)+WA(IDIJ)*C1(L,I ,K,J)
39 * WA(IDIJ-1)*C1(L,I ,K,J)-WA(IDIJ)*C1(L,I-1,K,J)
50 C1(L,I-1,K,J ) = CH(L,I-1,K,J )+CH(L,I-1,K,JC)
51 C1(L,I ,K,J ) = CH(L,I ,K,J )+CH(L,I ,K,JC)
52 C1(L,I-1,K,JC) = CH(L,I ,K,J )-CH(L,I ,K,JC)
53 C1(L,I ,K,JC) = CH(L,I-1,K,JC)-CH(L,I-1,K,J )
62 122 C2(L,IK,1) = CH2(L,IK,1)
70 C1(L,1,K,J ) = CH(L,1,K,J )+CH(L,1,K,JC)
71 C1(L,1,K,JC) = CH(L,1,K,JC)-CH(L,1,K,J )
79 AR1H = DCP*AR1-DSP*AI1
84 CH2(L,IK,M ) = C2(L,IK,1)+AR1*C2(L,IK, 2)
85 CH2(L,IK,MC) = AI1*C2(L,IK,IP)
94 AR2H = DC2*AR2-DS2*AI2
99 CH2(L,IK,M ) = CH2(L,IK,M )+AR2*C2(L,IK,J )
100 CH2(L,IK,MC) = CH2(L,IK,MC)+AI2*C2(L,IK,JC)
107 136 CH2(L,IK,1) = CH2(L,IK,1)+C2(L,IK,J)
112 147 CC(L,I,1,K) = CH(L,I,K,1)
120 CC(L,IDO,J2-2,K) = CH(L,1,K,J )
121 CC(L, 1,J2-1,K) = CH(L,1,K,JC)
124 IF (IDO .EQ. 1) RETURN
134 CC(L,I -1,J2-1,K) = CH(L,I-1,K,J )+CH(L,I-1,K,JC)
135 CC(L,I ,J2-1,K) = CH(L,I ,K,J )+CH(L,I ,K,JC)
136 CC(L,IC-1,J2-2,K) = CH(L,I-1,K,J )-CH(L,I-1,K,JC)
137 CC(L,IC ,J2-2,K) = CH(L,I ,K,JC)-CH(L,I ,K,J )
143 END SUBROUTINE RADFGM