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

    r4170 r4180  
    1515! DEPENDENCIES
    1616! ------------
    17 use numerics, only: dp, di, k4, largest_nb, minieps
     17use numerics, only: dp, di, k4, largest_nb, eps
    1818
    1919! DECLARATION
     
    477477call print_msg('Obl. (current|accepted min|accepted max): '//real2str(obliquity)//' | '//real2str(min_obl)//real2str(max_obl),LVL_NFO)
    478478
    479 max_ecc = min(eccentricity + max_change_ecc,1. - minieps) ! ecc < 1.
     479max_ecc = min(eccentricity + max_change_ecc,1. - eps) ! ecc < 1.
    480480min_ecc = max(eccentricity - max_change_ecc,0._dp) ! ecc >= 0.
    481481call print_msg('Ecc. (current|accepted min|accepted max): '//real2str(eccentricity)//' | '//real2str(min_ecc)//' | '//real2str(max_ecc),LVL_NFO)
Note: See TracChangeset for help on using the changeset viewer.