source: LMDZ5/trunk/libf/dyn3dmem/laplacien_rot_p.F @ 1632

Last change on this file since 1632 was 1632, checked in by Laurent Fairhead, 12 years ago

Import initial du répertoire dyn3dmem

Attention! ceci n'est qu'une version préliminaire du code "basse mémoire":
le code contenu dans ce répertoire est basé sur la r1320 et a donc besoin
d'être mis à jour par rapport à la dynamique parallèle d'aujourd'hui.
Ce code est toutefois mis à disposition pour circonvenir à des problèmes
de mémoire que certaines configurations du modèle pourraient rencontrer.
Dans l'état, il compile et tourne sur vargas et au CCRT


Initial import of dyn3dmem

Warning! this is just a preliminary version of the memory light code:
it is based on r1320 of the code and thus needs to be updated before
it can replace the present dyn3dpar code. It is nevertheless put at your
disposal to circumvent some memory problems some LMDZ configurations may
encounter. In its present state, it will compile and run on vargas and CCRT

File size: 1.2 KB
Line 
1      SUBROUTINE laplacien_rot_p ( klevel, rotin, rotout,ghx,ghy )
2c
3c    P. Le Van
4c
5c   ************************************************************
6c    ...  calcul de  ( rotat x nxgrad )  du rotationnel rotin  .
7c   ************************************************************
8c
9c     klevel et rotin  sont des arguments  d'entree pour le s-prog
10c      rotout           est  un argument  de sortie pour le s-prog
11c
12      USE parallel
13      IMPLICIT NONE
14c
15#include "dimensions.h"
16#include "paramet.h"
17#include "comgeom.h"
18
19c
20c   ..........    variables  en  arguments     .............
21c
22      INTEGER klevel
23      REAL rotin( ip1jm,klevel ), rotout( ip1jm,klevel )
24c
25c   ..........    variables   locales       ................
26c
27      REAL ghy(ip1jm,klevel), ghx(ip1jmp1,klevel)
28c   ........................................................
29c
30c
31      INTEGER :: ijb,ije,jjb,jje
32     
33      jjb=jj_begin-1
34      jje=jj_end+1
35     
36      if (pole_nord) jjb=jj_begin
37      if (pole_sud) jje=jj_end-1
38     
39      CALL  filtreg_p ( rotin ,jjb,jje,jjm, klevel,2, 1, .FALSE., 1)
40
41      CALL   nxgrad_p ( klevel, rotin,   ghx ,  ghy               )
42      CALL   rotatf_p  ( klevel, ghx  ,   ghy , rotout             )
43c
44      RETURN
45      END
Note: See TracBrowser for help on using the repository browser.