--- trunk/libf/dyn3d/nxgraro2.f 2010/03/09 15:27:15 26 +++ trunk/libf/dyn3d/Dissipation/nxgraro2.f 2012/01/10 19:02:02 56 @@ -1,7 +1,7 @@ ! ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/nxgraro2.F,v 1.1.1.1 2004/05/19 12:53:06 lmdzadmin Exp $ ! - SUBROUTINE nxgraro2 (klevel,xcov, ycov, lr, grx, gry ) + SUBROUTINE nxgraro2 (klevel,xcov, ycov, lr, grx, gry, crot ) c c P.Le Van . c *********************************************************** @@ -16,15 +16,16 @@ c use dimens_m use paramet_m - use inidissip_m + use filtreg_m, only: filtreg IMPLICIT NONE c c c ...... variables en arguments ....... c INTEGER klevel - REAL xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel ) - REAL grx( ip1jmp1,klevel ), gry( ip1jm,klevel ) + REAL, intent(in):: xcov( ip1jmp1,klevel ), ycov( ip1jm,klevel ) + REAL, intent(out):: grx( ip1jmp1,klevel ), gry( ip1jm,klevel ) + real, intent(in):: crot c c ...... variables locales ........ c @@ -38,8 +39,8 @@ signe = (-1.)**lr nugradrs = signe * crot c - CALL SCOPY ( ip1jmp1* klevel, xcov, 1, grx, 1 ) - CALL SCOPY ( ip1jm * klevel, ycov, 1, gry, 1 ) + grx = xcov + gry = ycov c CALL rotatf ( klevel, grx, gry, rot ) c