Changeset 765 for trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
- Timestamp:
- Aug 31, 2012, 9:52:22 AM (12 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.