Changeset 2336 for LMDZ5/trunk/libf/dyn3d_common/vitvert.F90
- Timestamp:
- Jul 31, 2015, 7:22:21 PM (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d_common/vitvert.F90
r2335 r2336 1 SUBROUTINE vitvert (convm, w) 1 2 ! 2 ! $Header$ 3 ! 4 SUBROUTINE vitvert ( convm , w ) 5 c 6 IMPLICIT NONE 3 !------------------------------------------------------------------------------- 4 ! Authors: P. Le Van , Fr. Hourdin. 5 !------------------------------------------------------------------------------- 6 ! Purpose: Compute vertical speed at sigma levels. 7 IMPLICIT NONE 8 include "dimensions.h" 9 include "paramet.h" 10 include "comvert.h" 11 !=============================================================================== 12 ! Arguments: 13 REAL, INTENT(IN) :: convm(ip1jmp1,llm) 14 REAL, INTENT(OUT) :: w (ip1jmp1,llm) 15 !=============================================================================== 16 ! Notes: Vertical speed is oriented from bottom to top. 17 ! * At ground - level sigma(1): w(i,j,1) = 0. 18 ! * At top - level sigma(llm+1): w(i,j,l) = 0. (not stored in w) 19 !=============================================================================== 20 ! Local variables: 21 INTEGER :: l 22 !=============================================================================== 23 DO l=1,llmm1; w(:,l+1)=convm(:,l+1)-bp(l+1)*convm(:,1); END DO 24 w(:,1)=0. 7 25 8 c======================================================================= 9 c 10 c Auteurs: P. Le Van , F. Hourdin . 11 c ------- 12 c 13 c Objet: 14 c ------ 15 c 16 c ******************************************************************* 17 c .... calcul de la vitesse verticale aux niveaux sigma .... 18 c ******************************************************************* 19 c convm est un argument d'entree pour le s-pg ...... 20 c w est un argument de sortie pour le s-pg ...... 21 c 22 c la vitesse verticale est orientee de haut en bas . 23 c au sol, au niveau sigma(1), w(i,j,1) = 0. 24 c au sommet, au niveau sigma(llm+1) , la vit.verticale est aussi 25 c egale a 0. et n'est pas stockee dans le tableau w . 26 c 27 c 28 c======================================================================= 26 END SUBROUTINE vitvert 29 27 30 #include "dimensions.h"31 #include "paramet.h"32 #include "comvert.h"33 34 REAL w(ip1jmp1,llm),convm(ip1jmp1,llm)35 INTEGER l, ij36 37 38 39 DO 2 l = 1,llmm140 41 DO 1 ij = 1,ip1jmp142 w( ij, l+1 ) = convm( ij, l+1 ) - bp(l+1) * convm( ij, 1 )43 1 CONTINUE44 45 2 CONTINUE46 47 DO 5 ij = 1,ip1jmp148 w(ij,1) = 0.49 5 CONTINUE50 51 RETURN52 END
Note: See TracChangeset
for help on using the changeset viewer.