Changeset 10490


Ignore:
Timestamp:
2019-01-09T20:49:56+01:00 (15 months ago)
Author:
mathiot
Message:

change the deepest e3w_0 inside the ice shelf ⇒ correct depth when using e3_to_depth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/DOMAINcfg/src/domzgr.f90

    r9598 r10490  
    18271827            !       ... on ik / ik-1  
    18281828               e3w_0  (ji,jj,ik  ) = e3t_0  (ji,jj,ik) !2._wp * (gdept_0(ji,jj,ik) - gdepw_0(ji,jj,ik))  
     1829               gdept_0(ji,jj,ik-1) = gdept_0(ji,jj,ik) - e3w_0(ji,jj,ik) 
    18291830               e3t_0  (ji,jj,ik-1) = gdepw_0(ji,jj,ik) - gdepw_1d(ik-1) 
    1830 ! The next line isn't required and doesn't affect results - included for consistency with bathymetry code  
    1831                gdept_0(ji,jj,ik-1) = gdept_1d(ik-1) 
     1831               e3w_0  (ji,jj,ik-1) = gdept_0(ji,jj,ik-1) - gdept_1d(ik-2) 
     1832               gdepw_0(ji,jj,ik-1) = gdepw_0(ji,jj,ik) - e3t_0(ji,jj,ik-1) 
    18321833            ENDIF  
    18331834         END DO  
Note: See TracChangeset for help on using the changeset viewer.