Ignore:
Timestamp:
Jan 21, 2022, 6:50:11 PM (2 years ago)
Author:
oboucher
Message:

more keys for plane effects to avoid pb on outputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lscp_mod.F90

    r4059 r4062  
    1414     prfl, psfl, rhcl, zqta, fraca,                     &
    1515     ztv, zpspsk, ztla, zthl, iflag_cld_th,             &
    16      iflag_ice_thermo, iflag_ice_sursat)
     16     iflag_ice_thermo, ok_ice_sursat)
    1717
    1818!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    126126  INTEGER,                         INTENT(IN)   :: iflag_ice_thermo! flag to activate the ice thermodynamics
    127127                                                                   ! CR: if iflag_ice_thermo=2, only convection is active   
    128   INTEGER,                         INTENT(IN)   :: iflag_ice_sursat ! 0 = sursat desativee, 1 = sursat activee
     128  LOGICAL,                         INTENT(IN)   :: ok_ice_sursat   ! flag to determine if ice sursaturation is activated
    129129
    130130  LOGICAL, DIMENSION(klon,klev),   INTENT(IN)   :: ptconv          ! grid points where deep convection scheme is active
     
    816816             
    817817                        !--ice sursaturation by Audran
    818                         IF ((iflag_ice_sursat.EQ.0).OR.(Tbef(i).GT.t_glace_min)) THEN
     818                        IF ((.NOT.ok_ice_sursat).OR.(Tbef(i).GT.t_glace_min)) THEN
    819819
    820820                          IF (zpdf_e1(i).LT.1.e-10) THEN
Note: See TracChangeset for help on using the changeset viewer.