Changeset 1236 for trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
- Timestamp:
- May 5, 2014, 11:38:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
r1226 r1236 1 1 SUBROUTINE vdif_cd(ngrid,nlay,pz0, 2 & pg,pz,pu,pv,wstar,pts,ph,pcdv,pcdh 3 #ifdef MESOSCALE 4 & ,flag_LES 5 #endif 6 & ) 2 & pg,pz,pu,pv,wstar,pts,ph,pcdv,pcdh) 7 3 USE comcstfi_h 4 use turb_mod, only: turb_resolved 8 5 IMPLICIT NONE 9 6 c======================================================================= … … 52 49 REAL, INTENT(IN) :: wstar(ngrid) 53 50 REAL, INTENT(OUT) :: pcdv(ngrid),pcdh(ngrid) ! momentum and heat drag coefficient 54 55 #ifdef MESOSCALE56 LOGICAL, INTENT(IN) :: flag_LES !! pour LES avec isfflx!=057 #endif58 51 59 52 c Local: … … 160 153 zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) 161 154 & + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2 162 #ifdef MESOSCALE 163 if(flag_LES) then 155 if(turb_resolved) then 164 156 zu2(ig)=MAX(zu2(ig),1.) 165 157 endif 166 #endif167 158 ! zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + (0.5*wstar(ig))**2 168 159
Note: See TracChangeset
for help on using the changeset viewer.