LMDZ
dudv1.F
Go to the documentation of this file.
1 !
2 ! $Header$
3 !
4  SUBROUTINE dudv1 ( vorpot, pbaru, pbarv, du, dv )
5  IMPLICIT NONE
6 c
7 c-----------------------------------------------------------------------
8 c
9 c Auteur: P. Le Van
10 c -------
11 c
12 c Objet:
13 c ------
14 c calcul du terme de rotation
15 c ce terme est ajoute a d(ucov)/dt et a d(vcov)/dt ..
16 c vorpot, pbaru et pbarv sont des arguments d'entree pour le s-pg ..
17 c du et dv sont des arguments de sortie pour le s-pg ..
18 c
19 c-----------------------------------------------------------------------
20 
21 #include "dimensions.h"
22 #include "paramet.h"
23 
24  REAL vorpot( ip1jm,llm ) ,pbaru( ip1jmp1,llm ) ,
25  * pbarv( ip1jm,llm ) ,du( ip1jmp1,llm ) ,dv( ip1jm,llm )
26  INTEGER l,ij
27 c
28 c
29  DO 10 l = 1,llm
30 c
31  DO 2 ij = iip2, ip1jm - 1
32  du( ij,l ) = 0.125 *( vorpot(ij-iip1, l) + vorpot( ij, l) ) *
33  * ( pbarv(ij-iip1, l) + pbarv(ij-iim, l) +
34  * pbarv( ij , l) + pbarv(ij+ 1 , l) )
35  2 CONTINUE
36 c
37  DO 3 ij = 1, ip1jm - 1
38  dv( ij+1,l ) = - 0.125 *( vorpot(ij, l) + vorpot(ij+1, l) ) *
39  * ( pbaru(ij, l) + pbaru(ij+1 , l) +
40  * pbaru(ij+iip1, l) + pbaru(ij+iip2, l) )
41  3 CONTINUE
42 c
43 c .... correction pour dv( 1,j,l ) .....
44 c .... dv(1,j,l)= dv(iip1,j,l) ....
45 c
46 CDIR$ IVDEP
47  DO 4 ij = 1, ip1jm, iip1
48  dv( ij,l ) = dv( ij + iim, l )
49  4 CONTINUE
50 c
51  10 CONTINUE
52  RETURN
53  END
!$Header iip2
Definition: paramet.h:14
!$Header llmm1 INTEGER ip1jmp1
Definition: paramet.h:14
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
!$Header llmm1 INTEGER ip1jm
Definition: paramet.h:14
subroutine dudv1(vorpot, pbaru, pbarv, du, dv)
Definition: dudv1.F:5
c c zjulian c cym CALL iim cym klev iim
Definition: ini_bilKP_ave.h:24