[5106] | 1 | SUBROUTINE vitvert(convm, w) |
---|
[5099] | 2 | |
---|
[2336] | 3 | !------------------------------------------------------------------------------- |
---|
| 4 | ! Authors: P. Le Van , Fr. Hourdin. |
---|
| 5 | !------------------------------------------------------------------------------- |
---|
| 6 | ! Purpose: Compute vertical speed at sigma levels. |
---|
[2600] | 7 | USE comvert_mod, ONLY: bp |
---|
[5159] | 8 | USE lmdz_dimensions, ONLY: iim, jjm, llm, ndm |
---|
| 9 | USE lmdz_paramet |
---|
[2336] | 10 | IMPLICIT NONE |
---|
[5159] | 11 | |
---|
| 12 | |
---|
[2336] | 13 | !=============================================================================== |
---|
| 14 | ! Arguments: |
---|
| 15 | REAL, INTENT(IN) :: convm(ip1jmp1,llm) |
---|
| 16 | REAL, INTENT(OUT) :: w (ip1jmp1,llm) |
---|
| 17 | !=============================================================================== |
---|
| 18 | ! Notes: Vertical speed is oriented from bottom to top. |
---|
| 19 | ! * At ground - level sigma(1): w(i,j,1) = 0. |
---|
| 20 | ! * At top - level sigma(llm+1): w(i,j,l) = 0. (not stored in w) |
---|
| 21 | !=============================================================================== |
---|
| 22 | ! Local variables: |
---|
| 23 | INTEGER :: l |
---|
| 24 | !=============================================================================== |
---|
| 25 | DO l=1,llmm1; w(:,l+1)=convm(:,l+1)-bp(l+1)*convm(:,1); END DO |
---|
| 26 | w(:,1)=0. |
---|
[524] | 27 | |
---|
[2336] | 28 | END SUBROUTINE vitvert |
---|
[524] | 29 | |
---|