29 #include "dimensions.h"
51 REAL deuxjour, ww, gt, uu, vv
123 uav(ij,l)=0.25*(ucov(ij,l)+ucov(ij-iip1,l))
124 . +0.25*(ucov(ij+iip1,l)+ucov(ij,l))
154 vav(ij,l) = 0.25 * ( vcov(ij,l) + vcov(ij-1,l) )
166 DO ij = ijb, ije, iip1
187 wsur2( ij ) = - 0.5 * w( ij,l+1 )
199 ww = wsur2( ij ) + wsur2( ij+1 )
200 uu = 0.5 * ( ucov(ij,l) + ucov(ij,l+1) )
201 du1(ij,l) = ww * ( uu -
uav(ij, l ) )/massebx(ij, l )
202 du2(ij,l+1)= ww * ( uu -
uav(ij,l+1) )/massebx(ij,l+1)
211 ww = wsur2( ij+iip1 ) + wsur2( ij )
212 vv = 0.5 * ( vcov(ij,l) + vcov(ij,l+1) )
213 dv1(ij,l) = ww * (vv -
vav(ij, l ) )/masseby(ij, l )
214 dv2(ij,l+1)= ww * (vv -
vav(ij,l+1) )/masseby(ij,l+1)
230 ww = wsur2(ij) * (teta(ij,l) + teta(ij,l+1) )
259 du(ij,l)=du(ij,l)+
du2(ij,l)-
du1(ij,l)
262 DO ij = ijb+iip1-1, ije, iip1
263 du( ij, l ) = du( ij -
iim, l )
279 dv(ij,l)=dv(ij,l)+
dv2(ij,l)-
dv1(ij,l)
!$Header llmm1 INTEGER ip1jmp1
real, dimension(:,:), pointer, save uav
real, dimension(:,:), pointer, save dteta2
!$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
real, dimension(:,:), pointer, save dv1
real, dimension(:,:), pointer, save du2
!$Id mode_top_bound COMMON comconstr daysec
real, dimension(:,:), pointer, save vav
real, dimension(:,:), pointer, save du1
real, dimension(:,:), pointer, save dv2
c c zjulian c cym CALL iim cym klev iim
subroutine advect_new_loc(ucov, vcov, teta, w, massebx, masseby, du, dv, dteta)
real, dimension(:,:), pointer, save dteta1
!$Header!CDK comgeom COMMON comgeom unsaire
real function ssum(n, sx, incx)