Ignore:
Timestamp:
Mar 17, 2026, 11:12:37 AM (3 weeks ago)
Author:
jbclement
Message:

PEM:

  • Temporary memory load reduced in "xios_data".
  • Rename local variables in procedures to avoid masking variables in parent scope.

JBC

File:
1 edited

Legend:

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

    r4135 r4136  
    2525! PARAMETERS
    2626! ----------
    27 ! Density and porosity of regolith and breccia
    28 real(dp), parameter :: rho_regolith      = 2000._dp ! [kg/m^3], Zent et al. 1995; Buhler and Piqueux 2021
     27real(dp), parameter :: rho_regolith      = 2000._dp ! Density of the martian regolith [kg/m^3], Zent et al. 1995; Buhler and Piqueux 2021
    2928real(dp), parameter :: regolith_porosity = 0.4_dp   ! Porosity of the martian regolith for a random loose packing of monodisperse sphere, Scott 1960
    3029real(dp), parameter :: breccia_porosity  = 0.1_dp   ! Porosity of breccia
     
    255254
    256255!=======================================================================
    257 SUBROUTINE set_soil(TI)
     256SUBROUTINE set_soil(therm_initia)
    258257!-----------------------------------------------------------------------
    259258! NAME
     
    291290! ARGUMENTS
    292291! ---------
    293 real(dp), dimension(:,:,:), intent(inout) :: TI ! Thermal inertia in the PEM [SI]
     292real(dp), dimension(:,:,:), intent(inout) :: therm_initia ! Thermal inertia in the PEM [SI]
    294293
    295294! LOCAL VARIABLES
     
    334333    do islope = 1,nslope
    335334        do iloop = 1,nsoil_PCM
    336             TI(ig,iloop,islope) = TI_PCM(ig,iloop,islope)
     335            therm_initia(ig,iloop,islope) = TI_PCM(ig,iloop,islope)
    337336        end do
    338337        if (nsoil > nsoil_PCM) then
    339338            do iloop = nsoil_PCM + 1,nsoil
    340                 TI(ig,iloop,islope) = TI_PCM(ig,nsoil_PCM,islope)
     339                therm_initia(ig,iloop,islope) = TI_PCM(ig,nsoil_PCM,islope)
    341340            end do
    342341        end if
Note: See TracChangeset for help on using the changeset viewer.