Ignore:
Timestamp:
Nov 12, 2024, 6:35:33 PM (3 weeks ago)
Author:
jbclement
Message:

PEM:
Few corrections related to r3498 (time step from integer to real) and r3493 (Norbert Schorghofer's subroutines for dynamic ice table) in order to make the code work properly.
JBC

File:
1 edited

Legend:

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

    r3493 r3512  
    99!!!
    1010!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    11 
    12 
    1311
    1412SUBROUTINE dyn_ss_ice_m(ssi_depth_in,T1,Tb,nz,thIn,p0,pfrost,porefill_in,porefill,ssi_depth)
     
    6967  !call setgrid(nz,z,zmax,zfac)
    7068  l1=2.e-4
    71   do iloop=0,nz
    72     z(iloop) = l1*(1+iloop**2.9*(1-exp(-real(iloop)/20.)))
     69  do iloop=0,nz - 1
     70    z(iloop + 1) = l1*(1+iloop**2.9*(1-exp(-real(iloop)/20.)))
    7371  enddo
    7472 
Note: See TracChangeset for help on using the changeset viewer.