Ignore:
Timestamp:
Apr 10, 2026, 7:17:55 PM (6 hours ago)
Author:
jbclement
Message:

PEM:

  • Rework layering-related logic, especially clarify interactions between surface and subsurface water tendencies and disable CO2 lag resistance (inconsistent without updating pressure and mass balance + PCM).
  • Prevent simultaneous activation of layering and ice flows.
  • Add warning when flux_geo /= 0 while soil is disabled.
  • Add new utility function "is_lvl_enabled" for displaying.
  • Replace deprecated 'minieps' with 'eps'/'tol'.

JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/surf_temp.F90

    r4147 r4180  
    1616! DEPENDENCIES
    1717! ------------
    18 use numerics, only: dp, di, k4, minieps
     18use numerics, only: dp, di, k4, eps
    1919
    2020! DECLARATION
     
    182182    do i = 1,nlon
    183183        do islope = 1,nslope
    184             if (mask_co2ice_ini(i,j,islope) > 0.5_dp .and. co2ice_ll(i,j,islope) < minieps .and. mask_co2ice_disappeared(i,j,islope) < 0.5_dp) then
     184            if (mask_co2ice_ini(i,j,islope) > 0.5_dp .and. co2ice_ll(i,j,islope) < eps .and. mask_co2ice_disappeared(i,j,islope) < 0.5_dp) then
    185185                found = .false.
    186186                mask_co2ice_disappeared(i,j,islope) = 1._dp
Note: See TracChangeset for help on using the changeset viewer.