Ignore:
Timestamp:
Apr 7, 2026, 4:13:35 PM (6 weeks ago)
Author:
cpetetin
Message:

TITAN PCM : evaporation and small conservation correction CP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/muphytitan/mm_microphysic.f90

    r4171 r4173  
    205205    REAL(kind=mm_wp), INTENT(out), OPTIONAL, DIMENSION(:,:)   :: grate     !! Growth rate (\(m^{2}.s^{-1}\)).
    206206
    207     IF (PRESENT(aer_prec))   aer_prec   = ABS(mm_aer_prec) / dt
     207    IF (PRESENT(aer_prec))   aer_prec   = -mm_aer_prec / dt
    208208    IF (PRESENT(aer_s_w))    aer_s_w    = -mm_m3as_vsed(mm_nla:1:-1)
    209209    IF (PRESENT(aer_f_w))    aer_f_w    = -mm_m3af_vsed(mm_nla:1:-1)
     
    212212
    213213    IF (mm_w_clouds) THEN
    214       IF (PRESENT(ccn_prec))   ccn_prec   = ABS(mm_ccn_prec) / dt
    215       IF (PRESENT(ice_prec))   ice_prec   = ABS(mm_ice_prec) / dt
     214      IF (PRESENT(ccn_prec))   ccn_prec   = -mm_ccn_prec / dt
     215      IF (PRESENT(ice_prec))   ice_prec   = -mm_ice_prec / dt
    216216      IF (PRESENT(ccn_w))      ccn_w      = mm_ccn_vsed(mm_nla:1:-1)
    217217      IF (PRESENT(ccn_flux))   ccn_flux   = mm_ccn_flux(mm_nla:1:-1)
Note: See TracChangeset for help on using the changeset viewer.