1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE R1F2KB
(IDO
,L1
,CC
,IN1
,CH
,IN2
,WA1
)
12 REAL CC
(IN1
,IDO
,2,L1
), CH
(IN2
,IDO
,L1
,2), WA1
(IDO
)
15 CH
(1,1,K
,1) = CC
(1,1,1,K
)+CC
(1,IDO
,2,K
)
16 CH
(1,1,K
,2) = CC
(1,1,1,K
)-CC
(1,IDO
,2,K
)
18 IF (IDO
-2) 107,105,102
24 CH
(1,I
-1,K
,1) = CC
(1,I
-1,1,K
)+CC
(1,IC
-1,2,K
)
25 CH
(1,I
,K
,1) = CC
(1,I
,1,K
)-CC
(1,IC
,2,K
)
27 CH
(1,I
-1,K
,2) = WA1
(I
-2)*(CC
(1,I
-1,1,K
)-CC
(1,IC
-1,2,K
))
28 1 -WA1
(I
-1)*(CC
(1,I
,1,K
)+CC
(1,IC
,2,K
))
29 CH
(1,I
,K
,2) = WA1
(I
-2)*(CC
(1,I
,1,K
)+CC
(1,IC
,2,K
))+WA1
(I
-1)
30 1 *(CC
(1,I
-1,1,K
)-CC
(1,IC
-1,2,K
))
34 IF (MOD
(IDO
,2) .EQ
. 1) RETURN
36 CH
(1,IDO
,K
,1) = CC
(1,IDO
,1,K
)+CC
(1,IDO
,1,K
)
37 CH
(1,IDO
,K
,2) = -(CC
(1,1,2,K
)+CC
(1,1,2,K
))