Changeset 4516 for LMDZ6


Ignore:
Timestamp:
Apr 24, 2023, 1:10:07 PM (14 months ago)
Author:
jyg
Message:

ok_bug_ajs_cv = Logical switch to a bug : modifying directly wake_deltat
by adding the (w) dry adjustment tendency to wake_deltat.

IF ok_bug_ajs_cv is false, then tendencies are not added to wake_deltat

(and are taken into account through only the heating and moistening
profiles).

File:
1 edited

Legend:

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

    r4489 r4516  
    945945    !$OMP THREADPRIVATE(ok_bug_split_th)
    946946
     947    ! Logical switch to a bug : modifying directly wake_deltat  by adding
     948    ! the (w) dry adjustment tendency to wake_deltat
     949    LOGICAL, SAVE :: ok_bug_ajs_cv = .TRUE.
     950    !$OMP THREADPRIVATE(ok_bug_ajs_cv)
     951
    947952    !
    948953    !********************************************************
     
    14001405       CALL getin_p('ok_bug_cv_trac',ok_bug_cv_trac)
    14011406       CALL getin_p('ok_bug_split_th',ok_bug_split_th)
     1407       CALL getin_p('ok_bug_ajs_cv',ok_bug_ajs_cv)
    14021408       fl_ebil = 0 ! by default, conservation diagnostics are desactivated
    14031409       CALL getin_p('fl_ebil',fl_ebil)
     
    29792985                ENDDO
    29802986             ENDDO
    2981              IF (iflag_adjwk == 2) THEN
     2987             IF (iflag_adjwk == 2 .AND. OK_bug_ajs_cv) THEN
    29822988               CALL add_wake_tend &
    29832989                 (d_deltat_ajs_cv, d_deltaq_ajs_cv, dsig0, ddens0, ddens0, wkoccur1, 'ajs_cv', abortphy)
    2984              ENDIF  ! (iflag_adjwk == 2)
     2990             ENDIF  ! (iflag_adjwk == 2 .AND. OK_bug_ajs_cv)
    29852991          ENDIF  ! (iflag_adjwk >= 1)
    29862992       ENDIF ! (iflag_wake>=1)
Note: See TracChangeset for help on using the changeset viewer.