Ignore:
Timestamp:
Dec 17, 2024, 5:52:24 PM (5 days ago)
Author:
jbclement
Message:

PEM:
Correction of Norbert Schorghofer's code due to missing initialization and bad shape array as subroutine argument + some cleanings.
JBC

File:
1 edited

Legend:

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

    r3532 r3563  
    3737  real(8)  ssi_depth_in, ssi_depth, T1
    3838  real(8), dimension(NP) :: zdepthF, zdepthE, zdepthT, zdepthG
    39   real(8), dimension(NMAX,NP) :: porefill, porefill_in
     39  real(8), dimension(nz,NP) :: porefill, porefill_in
    4040  real(8), dimension(nz) :: Tb
    4141  real(8), dimension(NP) :: Tmean1, Tmean3, avrho1
     
    152152  !print *,'Zt0=  ',ZdepthT
    153153     call icelayer_mars(timestep,nz,NP,thIn,rhoc,z,porosity,pfrost,Tb,zdepthF, &
    154           & zdepthE,porefill(1:nz,:),Tmean1,Tmean3,zdepthG, &
     154          & zdepthE,porefill,Tmean1,Tmean3,zdepthG, &
    155155          & albedo,p0,icefrac,zdepthT,avrho1, &
    156156          & avrho1prescribed)
Note: See TracChangeset for help on using the changeset viewer.