Ignore:
Timestamp:
Mar 16, 2026, 6:09:43 PM (2 days ago)
Author:
jbclement
Message:

PEM:
Relocate Mars-specific parameters out of "planet" module and into the modules that own their physics domain.
JBC

File:
1 edited

Legend:

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

    r4110 r4135  
    276276! ------------
    277277use geometry, only: ngrid, nslope, nsoil
    278 use soil,     only: mlayer
     278use soil,     only: mlayer, regolith_porosity
    279279use slopes,   only: subslope_dist, def_slope_mean
    280 use planet,   only: porosity
    281280use maths,    only: pi
    282281
     
    306305        do islope = 1,nslope
    307306            call compute_Tice(tsoil(ig,:,islope),tsurf(ig,islope),icetable_depth(ig,islope),Tice)
    308             delta_icetable(ig) = delta_icetable(ig) + porosity*rho_ice(Tice,'H2O')*(icetable_thickness(ig,islope) - icetable_thickness_old(ig,islope)) & ! convention > 0. <=> it condenses
     307            delta_icetable(ig) = delta_icetable(ig) + regolith_porosity*rho_ice(Tice,'H2O')*(icetable_thickness(ig,islope) - icetable_thickness_old(ig,islope)) & ! convention > 0. <=> it condenses
    309308                              *subslope_dist(ig,islope)/cos(def_slope_mean(islope)*pi/180._dp)
    310309        end do
Note: See TracChangeset for help on using the changeset viewer.