Changeset 108 for trunk/libf/dyn3dpar/leapfrog_p.F
- Timestamp:
- Apr 12, 2011, 11:16:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libf/dyn3dpar/leapfrog_p.F
r101 r108 113 113 REAL,DIMENSION(:,:,:),ALLOCATABLE,SAVE :: dqfi 114 114 115 !! Aymeric -- cp(T) comme dans leapfrog.F, SAVE OK ??? 116 REAL,SAVE :: duspg(ip1jmp1,llm) ! for bilan_dyn 117 115 c tendances top_bound (sponge layer) 116 REAL,SAVE :: dvtop(ip1jm,llm),dutop(ip1jmp1,llm) 117 REAL,SAVE :: dtetatop(ip1jmp1,llm) 118 REAL,SAVE :: dptop(ip1jmp1) 119 REAL,DIMENSION(:,:,:),ALLOCATABLE,SAVE :: dqtop 118 120 119 121 c variables pour le fichier histoire … … 242 244 ALLOCATE(dqfi(ip1jmp1,llm,nqtot)) 243 245 ALLOCATE(dqfi_tmp(iip1,llm,nqtot)) 246 ALLOCATE(dqtop(ip1jmp1,llm,nqtot)) 244 247 END IF 245 248 c$OMP END MASTER … … 251 254 252 255 c$OMP MASTER 256 c INITIALISATIONS 257 dudis(:,:) =0. 258 dvdis(:,:) =0. 259 dtetadis(:,:)=0. 260 dutop(:,:) =0. 261 dvtop(:,:) =0. 262 dtetatop(:,:)=0. 263 dqtop(:,:,:) =0. 264 dptop(:) =0. 265 dufi(:,:) =0. 266 dvfi(:,:) =0. 267 dtetafi(:,:)=0. 268 dqfi(:,:,:) =0. 269 dpfi(:) =0. 253 270 dq(:,:,:)=0. 271 254 272 CALL pression ( ip1jmp1, ap, bp, ps, p ) 255 273 CALL exner_hyb( ip1jmp1, ps, p,alpha,beta, pks, pk, pkf ) … … 914 932 c ajout des tendances physiques: 915 933 c ------------------------------ 916 IF (ok_strato) THEN917 CALL top_bound_p( vcov,ucov,teta,masse,dufi,dvfi,dtetafi)918 ENDIF919 920 934 CALL addfi_p( dtphys, leapf, forward , 921 935 $ ucov, vcov, teta , q ,ps , 922 936 $ dufi, dvfi, dtetafi , dqfi ,dpfi ) 923 937 938 c Couche superieure : 939 c ------------------- 940 IF (ok_strato) THEN 941 CALL top_bound_p( vcov,ucov,teta,masse,dutop,dvtop,dtetatop) 942 CALL addfi_p( dtphys, leapf, forward , 943 $ ucov, vcov, teta , q ,ps , 944 $ dutop, dvtop, dtetatop , dqtop ,dptop ) 945 946 ENDIF 947 924 948 c$OMP BARRIER 925 949 c$OMP MASTER … … 1444 1468 CALL bilan_dyn_p(dtvr*iperiod,dtvr*day_step*periodav, 1445 1469 & ps,masse,pk,pbaru,pbarv,teta,phi,ucov,vcov, 1446 & du,dudis,du spg,dufi)1470 & du,dudis,dutop,dufi) 1447 1471 c$OMP END MASTER 1448 1472 ENDIF !ok_dynzon … … 1670 1694 CALL bilan_dyn_p(dtvr*iperiod,dtvr*day_step*periodav, 1671 1695 & ps,masse,pk,pbaru,pbarv,teta,phi,ucov,vcov, 1672 & du,dudis,du spg,dufi)1696 & du,dudis,dutop,dufi) 1673 1697 1674 1698 c$OMP END MASTER
Note: See TracChangeset
for help on using the changeset viewer.