Changeset 4952


Ignore:
Timestamp:
May 24, 2024, 6:48:07 PM (8 months ago)
Author:
oboucher
Message:

flag for mass fixer is now ok_water_mass_fixer and can be changed in namelist

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/clesphys.h

    r4773 r4952  
    110110       LOGICAL :: ok_3Deffect
    111111
     112!OB flag to activate water mass fixer in physiq
     113       LOGICAL :: ok_water_mass_fixer
     114
    112115       COMMON/clesphys/                                                 &
    113116! REAL FIRST
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4949 r4952  
    12651265
    12661266    !--OB variables for mass fixer (hard coded for now)
    1267     LOGICAL, PARAMETER :: mass_fixer=.FALSE.
    12681267    REAL qql1(klon),qql2(klon),corrqql
    12691268
     
    15091508       iflag_phytrac = 1 ! by default we do want to call phytrac
    15101509       CALL getin_p('iflag_phytrac',iflag_phytrac)
     1510
     1511       ok_water_mass_fixer=.FALSE.  ! OB: by default we do not apply the mass fixer
     1512       CALL getin_p('ok_water_mass_fixer',ok_water_mass_fixer)
    15111513#ifdef CPP_Dust
    15121514       IF (iflag_phytrac.EQ.0) THEN
     
    15331535       WRITE(lunout,*) 'fl_cor_ebil=',        fl_cor_ebil
    15341536       WRITE(lunout,*) 'iflag_phytrac=',      iflag_phytrac
     1537       WRITE(lunout,*) 'ok_water_mass_fixer=',ok_water_mass_fixer
    15351538       WRITE(lunout,*) 'NVM=',                nvm_lmdz
    15361539
     
    24582461    ENDDO
    24592462    !
    2460     !--OB mass fixer
    2461     IF (mass_fixer) THEN
     2463    !--OB water mass fixer
     2464    IF (ok_water_mass_fixer) THEN
    24622465    !--store initial water burden
    24632466    qql1(:)=0.0
     
    54755478    !--currently flag is turned off
    54765479    !==================================================================
    5477     IF (mass_fixer) THEN
     5480    IF (ok_water_mass_fixer) THEN
    54785481    qql2(:)=0.0
    54795482    DO k = 1, klev
Note: See TracChangeset for help on using the changeset viewer.