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 9526 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfdrg.F90 – NEMO

Ignore:
Timestamp:
2018-04-30T12:22:35+02:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: rename ln_...NONE as ln_...OFF (CONFIG, OPA_SRC, TOP_SRC) ; agrif zoom now only in AGRIF_NORDIC configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfdrg.F90

    r9256 r9526  
    4141 
    4242   !                                 !!* Namelist namdrg: nature of drag coefficient namelist * 
    43    LOGICAL          ::   ln_NONE      ! free-slip       : Cd = 0 
     43   LOGICAL          ::   ln_OFF       ! free-slip       : Cd = 0 
    4444   LOGICAL          ::   ln_lin       !     linear  drag: Cd = Cd0_lin 
    4545   LOGICAL          ::   ln_non_lin   ! non-linear  drag: Cd = Cd0_nl |U| 
     
    6161   INTEGER ::              ndrg       ! choice of the type of drag coefficient 
    6262   !                                  ! associated indices: 
    63    INTEGER, PARAMETER ::   np_NONE     = 0   ! free-slip: drag set to zero 
     63   INTEGER, PARAMETER ::   np_OFF      = 0   ! free-slip: drag set to zero 
    6464   INTEGER, PARAMETER ::   np_lin      = 1   !     linear drag: Cd = Cd0_lin 
    6565   INTEGER, PARAMETER ::   np_non_lin  = 2   ! non-linear drag: Cd = Cd0_nl |U| 
     
    231231      INTEGER   ::   ios, ioptio   ! local integers 
    232232      !! 
    233       NAMELIST/namdrg/ ln_NONE, ln_lin, ln_non_lin, ln_loglayer, ln_drgimp 
     233      NAMELIST/namdrg/ ln_OFF, ln_lin, ln_non_lin, ln_loglayer, ln_drgimp 
    234234      !!---------------------------------------------------------------------- 
    235235      ! 
     
    249249         WRITE(numout,*) '~~~~~~~~~~~~' 
    250250         WRITE(numout,*) '   Namelist namdrg : top/bottom friction choices' 
    251          WRITE(numout,*) '      free-slip       : Cd = 0                  ln_NONE     = ', ln_NONE 
     251         WRITE(numout,*) '      free-slip       : Cd = 0                  ln_OFF      = ', ln_OFF  
    252252         WRITE(numout,*) '      linear  drag    : Cd = Cd0                ln_lin      = ', ln_lin 
    253253         WRITE(numout,*) '      non-linear  drag: Cd = Cd0_nl |U|         ln_non_lin  = ', ln_non_lin 
     
    257257      ! 
    258258      ioptio = 0                       ! set ndrg and control check 
    259       IF( ln_NONE     ) THEN   ;   ndrg = np_NONE       ;   ioptio = ioptio + 1   ;   ENDIF 
     259      IF( ln_OFF      ) THEN   ;   ndrg = np_OFF        ;   ioptio = ioptio + 1   ;   ENDIF 
    260260      IF( ln_lin      ) THEN   ;   ndrg = np_lin        ;   ioptio = ioptio + 1   ;   ENDIF 
    261261      IF( ln_non_lin  ) THEN   ;   ndrg = np_non_lin    ;   ioptio = ioptio + 1   ;   ENDIF 
     
    386386      SELECT CASE( ndrg ) 
    387387      ! 
    388       CASE( np_NONE )            !==  No top/bottom friction  ==!   (pCdU = 0) 
     388      CASE( np_OFF )            !==  No top/bottom friction  ==!   (pCdU = 0) 
    389389         IF(lwp) WRITE(numout,*) 
    390390         IF(lwp) WRITE(numout,*) '   ==>>>   ',TRIM(cd_topbot),' free-slip, friction set to zero' 
Note: See TracChangeset for help on using the changeset viewer.