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 15152 for NEMO/branches/UKMO/tools_r4.0-HEAD_dev_MEs – NEMO

Ignore:
Timestamp:
2021-07-27T17:02:19+02:00 (3 years ago)
Author:
dbruciaferri
Message:

bug fixing to reproduce NEMO 3.6 results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/tools_r4.0-HEAD_dev_MEs/DOMAINcfg/src/domzgr.f90

    r15121 r15152  
    617617      IF( nn_closea == 0 )   CALL clo_bat( bathy, mbathy )    !==  NO closed seas or lakes  ==! 
    618618      !                        
    619       IF ( (.not. ln_sco) .OR. (.not. ln_mes) ) THEN          !==  set a minimum depth  ==! 
     619      IF ( (.not. ln_sco) .AND. (.not. ln_mes) ) THEN          !==  set a minimum depth  ==! 
    620620         IF( rn_hmin < 0._wp ) THEN    ;   ik = - INT( rn_hmin )                                      ! from a nb of level 
    621621         ELSE                          ;   ik = MINLOC( gdepw_1d, mask = gdepw_1d > rn_hmin, dim = 1 )  ! from a depth 
     
    19901990                  iim1 = MAX( ji-1, 1 ) 
    19911991                  ijm1 = MAX( jj-1, 1 ) 
    1992 !!gm BUG fix see ticket #1617 
    1993                   IF( ( + bathy(iim1,ijm1) + bathy(ji,ijp1) + bathy(iip1,ijp1)              & 
     1992!!DB to reproduce R&D suite 
     1993                  IF( ( + bathy(iim1,ijp1) + bathy(ji,ijp1) + bathy(iip1,ijp1)              & 
    19941994                     &  + bathy(iim1,jj  )                  + bathy(iip1,jj  )              & 
    19951995                     &  + bathy(iim1,ijm1) + bathy(ji,ijm1) + bathy(iip1,ijp1)  ) > 0._wp ) & 
Note: See TracChangeset for help on using the changeset viewer.