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/utility.F90

    r4117 r4180  
    1616! DEPENDENCIES
    1717! ------------
    18 use numerics, only: dp, qp, di, li, k4, minieps
     18use numerics, only: dp, qp, di, li, k4, eps
    1919
    2020! DECLARATION
     
    302302idigits = 1
    303303! If x /= 0 then:
    304 if (abs(x) >= minieps) idigits = int(log10(abs(x))) + 1
     304if (abs(x) >= eps) idigits = int(log10(abs(x))) + 1
    305305
    306306END FUNCTION nb_digits
Note: See TracChangeset for help on using the changeset viewer.