New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14261 – NEMO

Changeset 14261


Ignore:
Timestamp:
2021-01-05T15:35:39+01:00 (4 years ago)
Author:
jchanut
Message:

#2222, upper bound on bathymetry (relevant in case of s-coordinates only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/tests/DOME/MY_SRC/usrdef_zgr.F90

    r14254 r14261  
    8282      !                       !==  UNmasked meter bathymetry  ==! 
    8383      ! 
    84       zht(:,:) = MAX( 600._wp,  600._wp - gphit(:,:)*1.e3*0.01 ) 
     84      zht(:,:) = MIN(3600._wp, MAX( 600._wp,  600._wp - gphit(:,:)*1.e3*0.01 )) 
    8585      ! 
    8686      ! at u/v/f-point: averaging zht 
Note: See TracChangeset for help on using the changeset viewer.