Last change
on this file since 5136 was
5136,
checked in by abarral, 8 weeks ago
|
Put comgeom.h, comgeom2.h into modules
|
-
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
|
File size:
1.3 KB
|
Line | |
---|
1 | SUBROUTINE laplacien_rotgam_loc( klevel, rotin, rotout ) |
---|
2 | ! |
---|
3 | ! P. Le Van |
---|
4 | ! |
---|
5 | ! ************************************************************ |
---|
6 | ! ... calcul de (rotat x nxgrad)_gam du rotationnel rotin .. |
---|
7 | ! ************************************************************ |
---|
8 | ! klevel et teta sont des arguments d'entree pour le s-prog |
---|
9 | ! divgra est un argument de sortie pour le s-prog |
---|
10 | ! |
---|
11 | USE parallel_lmdz |
---|
12 | USE lmdz_comgeom |
---|
13 | |
---|
14 | IMPLICIT NONE |
---|
15 | ! |
---|
16 | INCLUDE "dimensions.h" |
---|
17 | INCLUDE "paramet.h" |
---|
18 | |
---|
19 | ! |
---|
20 | ! ............. variables en arguments ........... |
---|
21 | ! |
---|
22 | INTEGER :: klevel |
---|
23 | REAL :: rotin( ijb_v:ije_v,klevel ), rotout( ijb_v:ije_v,klevel ) |
---|
24 | ! |
---|
25 | ! ............ variables locales ............... |
---|
26 | ! |
---|
27 | INTEGER :: l, ij |
---|
28 | REAL :: ghy(ijb_v:ije_v,llm), ghx(ijb_u:ije_u,llm) |
---|
29 | ! ........................................................ |
---|
30 | ! |
---|
31 | INTEGER :: ijb,ije |
---|
32 | |
---|
33 | ! |
---|
34 | |
---|
35 | CALL nxgrad_gam_loc ( klevel, rotin, ghx , ghy ) |
---|
36 | CALL rotat_nfil_loc ( klevel, ghx , ghy , rotout ) |
---|
37 | ! |
---|
38 | ijb=ij_begin |
---|
39 | ije=ij_end |
---|
40 | IF(pole_sud) ije=ij_end-iip1 |
---|
41 | !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
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 | !$OMP END DO NOWAIT |
---|
48 | |
---|
49 | END SUBROUTINE laplacien_rotgam_loc |
---|
Note: See
TracBrowser
for help on using the repository browser.