Changeset 765 for trunk/LMDZ.MARS/libf
- Timestamp:
- Aug 31, 2012, 9:52:22 AM (12 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
r648 r765 1 1 SUBROUTINE vdif_cd(ngrid,nlay,pz0, 2 & pg,pz,pu,pv,wstar,pts,ph,pcdv,pcdh) 2 & pg,pz,pu,pv,wstar,pts,ph,pcdv,pcdh 3 #ifdef MESOSCALE 4 & ,flag_LES 5 #endif 6 & ) 3 7 IMPLICIT NONE 4 8 c======================================================================= … … 48 52 REAL, INTENT(IN) :: wstar(ngrid) 49 53 REAL, INTENT(OUT) :: pcdv(ngrid),pcdh(ngrid) ! momentum and heat drag coefficient 54 55 #ifdef MESOSCALE 56 LOGICAL, INTENT(IN) :: flag_LES !! pour LES avec isfflx!=0 57 #endif 50 58 51 59 c Local: … … 152 160 zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) 153 161 & + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2 154 162 #ifdef MESOSCALE 163 if(flag_LES) then 164 zu2(ig)=MAX(zu2(ig),1.) 165 endif 166 #endif 155 167 ! zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + (0.5*wstar(ig))**2 156 168 -
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r742 r765 334 334 335 335 CALL vdif_cd(ngrid,nlay,pz0,g,pzlay,pu,pv,wstar,ptsrf,ph 336 & ,zcdv_true,zcdh_true) 336 & ,zcdv_true,zcdh_true 337 #ifdef MESOSCALE 338 & ,flag_LES 339 #endif 340 & ) 337 341 338 342 zu2(:)=pu(:,1)*pu(:,1)+pv(:,1)*pv(:,1)
Note: See TracChangeset
for help on using the changeset viewer.