Ignore:
Timestamp:
Jul 24, 2024, 6:46:45 PM (4 months ago)
Author:
abarral
Message:

enforce PRIVATE by default in several modules, expose PUBLIC as needed
move eigen.f90 to obsolete/
(lint) aslong the way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d_common/nxgraro2.f90

    r5106 r5119  
    1 
    21! $Header$
    32
    4  SUBROUTINE nxgraro2(klevel,xcov, ycov, lr, grx, gry )
     3SUBROUTINE nxgraro2(klevel, xcov, ycov, lr, grx, gry)
    54  !
    65  !  P.Le Van .
     
    1615  !
    1716  USE lmdz_filtreg, ONLY: filtreg
     17  USE lmdz_ssum_scopy, ONLY: scopy
     18
    1819  IMPLICIT NONE
    1920  !
     
    2526  !
    2627  INTEGER :: klevel
    27   REAL :: xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel )
    28   REAL :: grx( ip1jmp1,klevel ),  gry( ip1jm,klevel )
     28  REAL :: xcov(ip1jmp1, klevel), ycov(ip1jm, klevel)
     29  REAL :: grx(ip1jmp1, klevel), gry(ip1jm, klevel)
    2930  !
    3031  !    ......   variables locales     ........
    3132  !
    32   REAL :: rot(ip1jm,llm) , signe, nugradrs
    33   INTEGER :: l,ij,iter,lr
     33  REAL :: rot(ip1jm, llm), signe, nugradrs
     34  INTEGER :: l, ij, iter, lr
    3435  !    ........................................................
    3536  !
    3637  !
    3738  !
    38   signe    = (-1.)**lr
     39  signe = (-1.)**lr
    3940  nugradrs = signe * crot
    4041  !
    41   CALL SCOPY ( ip1jmp1* klevel, xcov, 1, grx, 1 )
    42   CALL SCOPY (  ip1jm * klevel, ycov, 1, gry, 1 )
     42  CALL SCOPY (ip1jmp1 * klevel, xcov, 1, grx, 1)
     43  CALL SCOPY (ip1jm * klevel, ycov, 1, gry, 1)
    4344  !
    44   CALL     rotatf     ( klevel, grx, gry, rot )
     45  CALL     rotatf     (klevel, grx, gry, rot)
    4546  !
    46   CALL laplacien_rot ( klevel, rot, rot,grx,gry      )
     47  CALL laplacien_rot (klevel, rot, rot, grx, gry)
    4748
    4849  !
    4950  !    .....   Iteration de l'operateur laplacien_rotgam  .....
    5051  !
    51   DO  iter = 1, lr -2
    52     CALL laplacien_rotgam ( klevel, rot, rot )
     52  DO  iter = 1, lr - 2
     53    CALL laplacien_rotgam (klevel, rot, rot)
    5354  ENDDO
    5455  !
    5556  !
    56   CALL filtreg( rot, jjm, klevel, 2,1, .FALSE.,1)
    57   CALL nxgrad ( klevel, rot, grx, gry )
     57  CALL filtreg(rot, jjm, klevel, 2, 1, .FALSE., 1)
     58  CALL nxgrad (klevel, rot, grx, gry)
    5859  !
    5960  DO    l = 1, klevel
    60      DO  ij = 1, ip1jm
    61       gry( ij,l ) = gry( ij,l ) * nugradrs
    62      ENDDO
    63      DO  ij = 1, ip1jmp1
    64       grx( ij,l ) = grx( ij,l ) * nugradrs
    65      ENDDO
     61    DO  ij = 1, ip1jm
     62      gry(ij, l) = gry(ij, l) * nugradrs
     63    ENDDO
     64    DO  ij = 1, ip1jmp1
     65      grx(ij, l) = grx(ij, l) * nugradrs
     66    ENDDO
    6667  ENDDO
    6768  !
Note: See TracChangeset for help on using the changeset viewer.