Last change
on this file since 5440 was
5271,
checked in by abarral, 2 months ago
|
Move dimensions.h into a module
Nb: doesn't compile yet
|
-
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:
557 bytes
|
Rev | Line | |
---|
[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
[5246] | 4 | SUBROUTINE eigen( e,d) |
---|
[5271] | 5 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
| 6 | IMPLICIT NONE |
---|
| 7 | |
---|
[5246] | 8 | real :: e( iim,iim ), d( iim ) |
---|
| 9 | real :: asm( iim ) |
---|
| 10 | integer :: im,i,j |
---|
| 11 | im=iim |
---|
| 12 | ! |
---|
| 13 | DO i = 1,im |
---|
| 14 | asm( i ) = d( im-i+1 ) |
---|
| 15 | END DO |
---|
| 16 | DO i = 1,iim |
---|
| 17 | d( i ) = asm( i ) |
---|
| 18 | END DO |
---|
| 19 | ! |
---|
| 20 | ! PRINT 70,d |
---|
[524] | 21 | 70 FORMAT(5x,'Valeurs propres',/,8(1x,8f10.4,/),/) |
---|
[5246] | 22 | print * |
---|
| 23 | ! |
---|
| 24 | DO i = 1,im |
---|
| 25 | DO j = 1,im |
---|
| 26 | asm( j ) = e( i , im-j+1 ) |
---|
| 27 | END DO |
---|
| 28 | DO j = 1,im |
---|
| 29 | e( i,j ) = asm( j ) |
---|
| 30 | END DO |
---|
| 31 | END DO |
---|
[524] | 32 | |
---|
[5246] | 33 | RETURN |
---|
| 34 | END SUBROUTINE eigen |
---|
Note: See
TracBrowser
for help on using the repository browser.