Ignore:
Timestamp:
Apr 29, 2019, 10:07:47 AM (6 years ago)
Author:
aboissinot
Message:

Fix in convadj.F
New version of the thermal plume model (new entrainment and detrainment formulae, alimentation is removed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/convadj.F

    r2107 r2127  
    197197            l2 = l2 + 1
    198198            IF (l2 .GT. nlay) EXIT
    199             IF ((zhc(i, l2).LT.zhc(i, l2-1)).and.(l.GT.lmax(i))) THEN
     199            IF ((zhc(i, l2).LT.zhc(i, l2-1)).and.(l2.GT.lmax(i))) THEN
    200200 
    201201!     l2 is the highest level of the unstable column
     
    226226                down = .false.
    227227                IF (l1 .ne. 1) then    !--  and then
    228                   IF ((zhmc.LT.zhc(i, l1-1)).and.(l.GT.lmax(i))) then
     228                  IF ((zhmc.LT.zhc(i, l1-1)).and.(l1.GT.lmax(i))) then
    229229                    down = .true.
    230230                  END IF
Note: See TracChangeset for help on using the changeset viewer.