Last change
on this file since 5451 was
5285,
checked in by abarral, 2 months ago
|
As discussed internally, remove generic ONLY: ... for new _mod_h 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 convmas2_loc (convm) |
---|
2 | ! |
---|
3 | !------------------------------------------------------------------------------- |
---|
4 | ! Authors: P. Le Van , Fr. Hourdin. |
---|
5 | !------------------------------------------------------------------------------- |
---|
6 | ! Purpose: Compute mass flux convergence at p levels. |
---|
7 | ! Equivalent to convmas_loc if convmas1_loc is called before. |
---|
8 | USE comgeom_mod_h |
---|
9 | USE parallel_lmdz |
---|
10 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
11 | USE paramet_mod_h |
---|
12 | IMPLICIT NONE |
---|
13 | |
---|
14 | |
---|
15 | !=============================================================================== |
---|
16 | ! Arguments: |
---|
17 | REAL, INTENT(INOUT) :: convm(ijb_u:ije_u,llm) |
---|
18 | !=============================================================================== |
---|
19 | ! Method used: Computation from top to bottom. |
---|
20 | ! Mass convergence at level llm is equal to zero and is not stored in convm. |
---|
21 | !=============================================================================== |
---|
22 | ! Local variables: |
---|
23 | INTEGER :: l, ijb, ije |
---|
24 | !=============================================================================== |
---|
25 | |
---|
26 | !$OMP MASTER |
---|
27 | !--- Mass convergence is integrated from top to bottom |
---|
28 | ijb=ij_begin |
---|
29 | ije=ij_end+iip1 |
---|
30 | IF(pole_sud) ije=ij_end |
---|
31 | DO l=llmm1,1,-1 |
---|
32 | convm(ijb:ije,l) = convm(ijb:ije,l) + convm(ijb:ije,l+1) |
---|
33 | END DO |
---|
34 | !$OMP END MASTER |
---|
35 | |
---|
36 | END SUBROUTINE convmas2_loc |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.