Ignore:
Timestamp:
Nov 5, 2018, 3:24:59 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Undoing merge with trunk (r3356) to properly register Yann's latest modifications

Location:
LMDZ6/branches/DYNAMICO-conv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/DYNAMICO-conv

  • LMDZ6/branches/DYNAMICO-conv/libf/phylmd/cvltr_noscav.F90

    r3356 r3411  
    3939  INTEGER                         :: i,k,j
    4040  REAL                            :: pdtimeRG
    41   REAL                            :: smallest_mp
    4241  real conserv
    4342  real smfd
     
    4847! calcul des tendances liees au downdraft
    4948! =========================================
    50 !
    51   smallest_mp = tiny(mp(1,1))
    5249!cdir collapse
    5350  qfeed(:,it) = 0.
     
    8885     DO j=k-1,1,-1
    8986        DO i=1,klon
    90 !!           if(mp(i,j+1).ne.0) then
    91 !!              zmd(i,j,k)=zmd(i,j+1,k)*min(1.,mp(i,j)/mp(i,j+1))
    92 !!           ENDif
    93            zmd(i,j,k)=zmd(i,j+1,k)*mp(i,j)/max(mp(i,j),mp(i,j+1),smallest_mp)
     87           if(mp(i,j+1).ne.0) then
     88              zmd(i,j,k)=zmd(i,j+1,k)*min(1.,mp(i,j)/mp(i,j+1))
     89           ENDif
    9490        END DO
    9591     END DO
Note: See TracChangeset for help on using the changeset viewer.