Changeset 269 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Aug 17, 2011, 11:38:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r268 r269 1160 1160 ENDDO 1161 1161 1162 ! Potential Temperature 1163 1164 DO ig=1,ngridmx 1165 DO l=1,nlayermx 1166 zh(ig,l) = zt(ig,l)*(zplay(ig,l)/zplev(ig,1))**rcp 1167 ENDDO 1168 ENDDO 1169 1170 1162 1171 c Compute surface stress : (NB: z0 is a common in surfdat.h) 1163 1172 c DO ig=1,ngrid … … 1573 1582 if (calltherm .and. (z_out .gt. 0.)) then 1574 1583 call surflayer_interpol(ngrid,nlayer,z0,g,zzlay,zu,zv,wmax_th 1575 & ,tsurf,zt(:,:)*(zplay(:,:)/zplev(:,:))**rcp 1576 & ,z_out,Teta_out,u_out,ustar,tstar) 1584 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar) 1577 1585 1578 1586 zu2(:)=sqrt(zu(:,1)*zu(:,1)+zv(:,1)*zv(:,1)) … … 1683 1691 z_out=0. 1684 1692 if (calltherm .and. (z_out .gt. 0.)) then 1685 1686 1693 call surflayer_interpol(ngrid,nlayer,z0,g,zzlay,zu,zv,wmax_th 1687 & ,tsurf,zt(:,:)*(zplay(:,:)/zplev(:,:))**rcp 1688 & ,z_out,Teta_out,u_out,ustar,tstar) 1694 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar) 1689 1695 1690 1696 zu2(:)=sqrt(zu(:,1)*zu(:,1)+zv(:,1)*zv(:,1))
Note: See TracChangeset
for help on using the changeset viewer.