Last change
on this file since 3567 was
2759,
checked in by aslmd, 2 years ago
|
adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size
|
File size:
2.2 KB
|
Line | |
---|
1 | !CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |
---|
2 | ! |
---|
3 | ! FFTPACK 5.0 |
---|
4 | ! Copyright (C) 1995-2004, Scientific Computing Division, |
---|
5 | ! University Corporation for Atmospheric Research |
---|
6 | ! Licensed under the GNU General Public License (GPL) |
---|
7 | ! |
---|
8 | ! Authors: Paul N. Swarztrauber and Richard A. Valent |
---|
9 | ! |
---|
10 | ! $Id: cfft2i.f,v 1.2 2004/06/15 21:08:32 rodney Exp $ |
---|
11 | ! |
---|
12 | !CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |
---|
13 | |
---|
14 | SUBROUTINE CFFT2I (L, M, WSAVE, LENSAV, IER) |
---|
15 | INTEGER L, M, IER |
---|
16 | REAL WSAVE(LENSAV) |
---|
17 | ! |
---|
18 | ! Initialize error return |
---|
19 | ! |
---|
20 | IER = 0 |
---|
21 | ! |
---|
22 | IF (LENSAV .LT. 2*L + INT(LOG(REAL(L))) + & |
---|
23 | & 2*M + INT(LOG(REAL(M))) +8) THEN |
---|
24 | IER = 2 |
---|
25 | CALL XERFFT ('CFFT2I', 4) |
---|
26 | GO TO 100 |
---|
27 | ENDIF |
---|
28 | ! |
---|
29 | CALL CFFTMI (L, WSAVE(1), 2*L + INT(LOG(REAL(L))) + 4, IER1) |
---|
30 | IF (IER1 .NE. 0) THEN |
---|
31 | IER = 20 |
---|
32 | CALL XERFFT ('CFFT2I',-5) |
---|
33 | GO TO 100 |
---|
34 | ENDIF |
---|
35 | CALL CFFTMI (M, WSAVE(2*L+INT(LOG(REAL(L))*LOG(2.)) + 3), & |
---|
36 | & 2*M + INT(LOG(REAL(M))) + 4, IER1) |
---|
37 | IF (IER1 .NE. 0) THEN |
---|
38 | IER = 20 |
---|
39 | CALL XERFFT ('CFFT2I',-5) |
---|
40 | ENDIF |
---|
41 | ! |
---|
42 | 100 CONTINUE |
---|
43 | RETURN |
---|
44 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.