source: LMDZ4/branches/LMDZ4_par_0/libf/dyn3dpar/laplacien_rotgam_p.F @ 1379

Last change on this file since 1379 was 630, checked in by Laurent Fairhead, 19 years ago

Import d'une version parallele de la dynamique YM
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1      SUBROUTINE laplacien_rotgam_p ( klevel, rotin, rotout )
2c
3c     P. Le Van
4c
5c   ************************************************************
6c   ... calcul de  (rotat x nxgrad)_gam  du rotationnel rotin ..
7c   ************************************************************
8c     klevel et teta  sont des arguments  d'entree pour le s-prog
9c      divgra     est  un argument  de sortie pour le s-prog
10c
11      USE parallel
12      IMPLICIT NONE
13c
14#include "dimensions.h"
15#include "paramet.h"
16#include "comgeom.h"
17
18c
19c    .............   variables  en  arguments    ...........
20c
21      INTEGER klevel
22      REAL rotin( ip1jm,klevel ), rotout( ip1jm,klevel )
23c
24c   ............     variables   locales     ...............
25c
26      INTEGER l, ij
27      REAL ghy(ip1jm,llm), ghx(ip1jmp1,llm)
28c   ........................................................
29c
30      EXTERNAL   nxgrad_gam, rotat_nfil
31      INTEGER :: ijb,ije
32     
33c
34
35      CALL   nxgrad_gam_p ( klevel, rotin,   ghx ,   ghy  )
36      CALL   rotat_nfil_p ( klevel, ghx  ,   ghy , rotout )
37c
38      ijb=ij_begin
39      ije=ij_end
40      if(pole_sud) ije=ij_end-iip1
41     
42      DO l = 1, klevel
43        DO ij = ijb, ije
44         rotout(ij,l) = rotout(ij,l) * unsairz_gam(ij)
45        ENDDO
46      ENDDO
47
48      RETURN
49      END
Note: See TracBrowser for help on using the repository browser.