Ignore:
Timestamp:
Apr 8, 2026, 11:36:16 AM (4 days ago)
Author:
jbclement
Message:

PEM:
Refactor of H2O flux balancing:

  • centralizes flux balancing logic;
  • removes intermediate variables, especially related to of H2O mass bookkeeping;
  • adds new stopping criterion when H2O flux balance fails8 (sanity check);
  • introduces configurable weighting strategies for H2O flux balancing.

JBC

File:
1 edited

Legend:

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

    r4170 r4174  
    12551255! ARGUMENTS
    12561256! ---------
    1257 type(layering),         intent(inout) ::  this
    1258 type(stratum), pointer, intent(inout) ::  current
    1259 real(dp),               intent(inout) ::  d_co2ice, d_h2oice
    1260 logical(k4),            intent(inout) ::  new_str, new_lag
    1261 real(dp),               intent(out)   ::  zshift_surf, zlag
     1257real(dp),               intent(in)    :: d_co2ice, d_h2oice
     1258type(layering),         intent(inout) :: this
     1259type(stratum), pointer, intent(inout) :: current
     1260logical(k4),            intent(inout) :: new_str, new_lag
     1261real(dp),               intent(out)   :: zshift_surf, zlag
    12621262
    12631263! LOCAL VARIABLES
Note: See TracChangeset for help on using the changeset viewer.