Ignore:
Timestamp:
Feb 7, 2019, 12:01:36 PM (6 years ago)
Author:
aboissinot
Message:

d_temp is now taken into acocunt in thermcell_plume to trigger the plume and compute first unstable layer speed.
Modified temperature is computed in thermcell_plume and thermcell_alim get it via its arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/thermcell_alim.F90

    r2069 r2093  
    22!
    33!
    4       SUBROUTINE thermcell_alim(ngrid,klev,ztv,zlev,alim_star,lalim,lmin)
     4      SUBROUTINE thermcell_alim(ngrid,klev,ztv2,zlev,alim_star,lalim,lmin)
    55     
    66     
     
    2727      INTEGER, INTENT(IN) :: lmin(ngrid)        ! plume initial level
    2828     
    29       REAL, INTENT(IN) :: ztv(ngrid,klev)       ! Large scale virtual potential temperature
    30 ! Virtual potential temperature offset in linf layer
     29      REAL, INTENT(IN) :: ztv2(ngrid,klev)      ! Virtual potential temperature
    3130      REAL, INTENT(IN) :: zlev(ngrid,klev+1)    ! levels altitude
    3231     
     
    4443     
    4544      REAL :: alim_star_tot(ngrid)              ! integrated alimentation
    46       REAL :: ztv2(ngrid,klev)                  ! ztv + d_temp
    4745     
    4846!==============================================================================
     
    5351     
    5452      alim_star_tot(:) = 0.
    55      
    56       ztv2(:,:) = ztv(:,:)
    57       ztv2(:,linf) = ztv2(:,linf) + d_temp
    5853     
    5954!==============================================================================
Note: See TracChangeset for help on using the changeset viewer.