1 C***********************************************************************
2 SUBROUTINE RADBGM (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/
21 101 CH(L,I,K,1) = CC(L,I,1,K)
29 CH(L,1,K,J ) = CC(L,IDO,J2-2,K)+CC(L,IDO,J2-2,K)
30 CH(L,1,K,JC) = CC(L, 1,J2-1,K)+CC(L, 1,J2-1,K)
42 CH(L,I-1,K,J ) = CC(L,I-1,2*J-1,K)+CC(L,IC-1,2*J-2,K)
43 CH(L,I ,K,J ) = CC(L,I ,2*J-1,K)-CC(L,IC ,2*J-2,K)
44 CH(L,I-1,K,JC) = CC(L,I-1,2*J-1,K)-CC(L,IC-1,2*J-2,K)
45 CH(L,I ,K,JC) = CC(L,I ,2*J-1,K)+CC(L,IC ,2*J-2,K)
56 AR1H = DCP*AR1-DSP*AI1
61 C2(L,IK,M ) = CH2(L,IK,1)+AR1*CH2(L,IK, 2)
62 C2(L,IK,MC) = AI1*CH2(L,IK,IP)
71 AR2H = DC2*AR2-DS2*AI2
76 C2(L,IK,M ) = C2(L,IK,M )+AR2*CH2(L,IK,J )
77 C2(L,IK,MC) = C2(L,IK,MC)+AI2*CH2(L,IK,JC)
84 128 CH2(L,IK,1) = CH2(L,IK,1)+CH2(L,IK,J)
91 CH(L,1,K,J ) = C1(L,1,K,J)-C1(L,1,K,JC)
92 CH(L,1,K,JC) = C1(L,1,K,J)+C1(L,1,K,JC)
95 IF (IDO .EQ. 1) RETURN
102 CH(L,I-1,K,J ) = C1(L,I-1,K,J)-C1(L,I ,K,JC)
103 CH(L,I ,K,J ) = C1(L,I ,K,J)+C1(L,I-1,K,JC)
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