Ignore:
Timestamp:
Apr 10, 2026, 7:17:55 PM (24 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/glaciers.F90

    r4170 r4180  
    1818! DEPENDENCIES
    1919! ------------
    20 use numerics, only: dp, di, k4, minieps
     20use numerics, only: dp, di, k4, eps
    2121
    2222! DECLARATION
     
    301301                    iaval = islope + 1
    302302                end if
    303                 do while (iaval /= iflat .and. abs(subslope_dist(ig,iaval)) < minieps)
     303                do while (iaval /= iflat .and. abs(subslope_dist(ig,iaval)) < eps)
    304304                    if (iaval > iflat) then
    305305                        iaval = iaval - 1
Note: See TracChangeset for help on using the changeset viewer.