source: LMDZ6/trunk/libf/filtrez/eigen.f90 @ 5278

Last change on this file since 5278 was 5271, checked in by abarral, 2 days 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
Line 
1!
2! $Header$
3!
4SUBROUTINE eigen( e,d)
5  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
6IMPLICIT NONE
7
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
21 70   FORMAT(5x,'Valeurs propres',/,8(1x,8f10.4,/),/)
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
32
33  RETURN
34END SUBROUTINE eigen
Note: See TracBrowser for help on using the repository browser.