1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE COSTMI
(N
, WSAVE
, LENSAV
, IER
)
12 INTEGER N
, LENSAV
, IER
17 IF (LENSAV
.LT
. 2*N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
19 CALL XERFFT
('COSTMI', 3)
33 WSAVE
(K
) = 2.*SIN
(FK*DT
)
34 WSAVE
(KC
) = 2.*COS
(FK*DT
)
36 LNSV
= NM1
+ INT
(LOG
(REAL(NM1
))/LOG
(2.)) +4
37 CALL RFFTMI
(NM1
, WSAVE
(N
+1), LNSV
, IER1
)
40 CALL XERFFT
('COSTMI',-5)