1 C***********************************************************************
2 SUBROUTINE RADF5M (INC,LOT,IDO,L1,CC,CH,WA1,WA2,WA3,WA4)
3 DIMENSION CC(INC,IDO,L1,5) ,CH(INC,IDO,5,L1)
4 1 ,WA1(*) ,WA2(*) ,WA3(*) ,WA4(*)
5 DATA TR11,TI11,TR12,TI12 /.3090169943749470,.9510565162951540,
6 1 -.8090169943749470,.5877852522924730/
10 CR2 = CC(L,1,K,5)+CC(L,1,K,2)
11 CR3 = CC(L,1,K,4)+CC(L,1,K,3)
12 CI5 = CC(L,1,K,5)-CC(L,1,K,2)
13 CI4 = CC(L,1,K,4)-CC(L,1,K,3)
14 CH(L, 1,1,K) = CC(L,1,K,1)+ CR2+ CR3
15 CH(L, 1,3,K) = TI11*CI5+TI12*CI4
16 CH(L,IDO,2,K) = CC(L,1,K,1)+TR11*CR2+TR12*CR3
17 CH(L, 1,5,K) = TI12*CI5-TI11*CI4
18 CH(L,IDO,4,K) = CC(L,1,K,1)+TR12*CR2+TR11*CR3
28 CA2 = WA1(I-2)*CC(L,I-1,K,2)
29 CU2 = WA1(I-2)*CC(L,I ,K,2)
30 CA3 = WA2(I-2)*CC(L,I-1,K,3)
31 CU3 = WA2(I-2)*CC(L,I ,K,3)
32 CA4 = WA3(I-2)*CC(L,I-1,K,4)
33 CU4 = WA3(I-2)*CC(L,I ,K,4)
34 CA5 = WA4(I-2)*CC(L,I-1,K,5)
35 CU5 = WA4(I-2)*CC(L,I ,K,5)
36 CB2 = WA1(I-1)*CC(L,I-1,K,2)
37 CV2 = WA1(I-1)*CC(L,I ,K,2)
38 CB3 = WA2(I-1)*CC(L,I-1,K,3)
39 CV3 = WA2(I-1)*CC(L,I ,K,3)
40 CB4 = WA3(I-1)*CC(L,I-1,K,4)
41 CV4 = WA3(I-1)*CC(L,I ,K,4)
42 CB5 = WA4(I-1)*CC(L,I-1,K,5)
43 CV5 = WA4(I-1)*CC(L,I ,K,5)
44 CH(L,IC-1,2,K) = CA2+CV2
45 CH(L,IC ,2,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,K) = CC(L,I-1,K,1)+SR23
89 CH(L,I ,1,K) = CC(L,I ,K,1)+SI23
90 CH(L,IC-1,2,K) = TR2-TR5
91 CH(L,IC ,2,K) = TI5-TI2
92 CH(L,I -1,3,K) = TR2+TR5
93 CH(L,I ,3,K) = TI2+TI5
94 CH(L,IC-1,4,K) = TR3-TR4
95 CH(L,IC ,4,K) = TI4-TI3
96 CH(L,I -1,5,K) = TR3+TR4
97 CH(L,I ,5,K) = TI3+TI4
102 END SUBROUTINE RADF5M