Last change
on this file since 3871 was
2197,
checked in by Ehouarn Millour, 10 years ago
|
Added 'implicit none' statements and proper variable definitions where they were missing.
EM
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
586 bytes
|
Rev | Line | |
---|
[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | SUBROUTINE eigen( e,d) |
---|
[2197] | 5 | IMPLICIT NONE |
---|
[524] | 6 | #include "dimensions.h" |
---|
[2197] | 7 | real :: e( iim,iim ), d( iim ) |
---|
| 8 | real :: asm( iim ) |
---|
| 9 | integer :: im,i,j |
---|
[524] | 10 | im=iim |
---|
| 11 | c |
---|
| 12 | DO 48 i = 1,im |
---|
| 13 | asm( i ) = d( im-i+1 ) |
---|
| 14 | 48 CONTINUE |
---|
| 15 | DO 49 i = 1,iim |
---|
| 16 | d( i ) = asm( i ) |
---|
| 17 | 49 CONTINUE |
---|
| 18 | c |
---|
| 19 | c PRINT 70,d |
---|
| 20 | 70 FORMAT(5x,'Valeurs propres',/,8(1x,8f10.4,/),/) |
---|
| 21 | print * |
---|
| 22 | c |
---|
| 23 | DO 51 i = 1,im |
---|
| 24 | DO 52 j = 1,im |
---|
| 25 | asm( j ) = e( i , im-j+1 ) |
---|
| 26 | 52 CONTINUE |
---|
| 27 | DO 50 j = 1,im |
---|
| 28 | e( i,j ) = asm( j ) |
---|
| 29 | 50 CONTINUE |
---|
| 30 | 51 CONTINUE |
---|
| 31 | |
---|
| 32 | RETURN |
---|
| 33 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.