Changeset 2376


Ignore:
Timestamp:
Oct 20, 2015, 11:57:39 AM (9 years ago)
Author:
jyg
Message:

Add initialization of ice fraction below cloud
base in cv3_undilute2 in cv3_routines.F90.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cv3_routines.F90

    r2364 r2376  
    10741074  REAL, DIMENSION (nloc, nd), INTENT (OUT)           :: ep, sigp, hp
    10751075  REAL, DIMENSION (nloc, nd), INTENT (OUT)           :: buoy
     1076  REAL, DIMENSION (nloc, nd), INTENT (OUT)           :: frac
    10761077
    10771078!local variables:
     
    10821083  REAL by, defrac, pden, tbis
    10831084  REAL ah0(nloc), cape(nloc), capem(nloc), byp(nloc)
    1084   REAL frac(nloc, nd)
    10851085  LOGICAL lcape(nloc)
    10861086  INTEGER iposit(nloc)
     
    15321532          hp(i, k) = hnk(i) + (lv(i,k)+(cpd-cpv)*t(i,k)+frac(i,k)*lf(i,k))* &
    15331533                              ep(i, k)*clw(i, k)
     1534        END IF
     1535      END DO
     1536    END DO
     1537! Below cloud base, set ice fraction to cloud base value
     1538    DO k = 1, nl
     1539      DO i = 1, ncum
     1540        IF (k<icb(i)) THEN
     1541          frac(i,k) = frac(i,icb(i))
    15341542        END IF
    15351543      END DO
Note: See TracChangeset for help on using the changeset viewer.