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/LDF/ldftra.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/LDF/ldftra.F90

    r9490 r9526  
    4343   !                                   !!* Namelist namtra_ldf : lateral mixing on tracers *  
    4444   !                                    != Operator type =! 
    45    LOGICAL , PUBLIC ::   ln_traldf_NONE      !: no operator: No explicit diffusion 
     45   LOGICAL , PUBLIC ::   ln_traldf_OFF       !: no operator: No explicit diffusion 
    4646   LOGICAL , PUBLIC ::   ln_traldf_lap       !: laplacian operator 
    4747   LOGICAL , PUBLIC ::   ln_traldf_blp       !: bilaplacian operator 
     
    135135      CHARACTER(len=5) ::   cl_Units               ! units (m2/s or m4/s) 
    136136      !! 
    137       NAMELIST/namtra_ldf/ ln_traldf_NONE, ln_traldf_lap  , ln_traldf_blp  ,  &   ! type of operator 
    138          &                 ln_traldf_lev , ln_traldf_hor  , ln_traldf_triad,  &   ! acting direction of the operator 
    139          &                 ln_traldf_iso , ln_traldf_msc  ,  rn_slpmax     ,  &   ! option for iso-neutral operator 
    140          &                 ln_triad_iso  , ln_botmix_triad, rn_sw_triad    ,  &   ! option for triad operator 
    141          &                 nn_aht_ijk_t  , rn_Ud          , rn_Ld                 ! lateral eddy coefficient 
     137      NAMELIST/namtra_ldf/ ln_traldf_OFF, ln_traldf_lap  , ln_traldf_blp  ,   &   ! type of operator 
     138         &                 ln_traldf_lev, ln_traldf_hor  , ln_traldf_triad,   &   ! acting direction of the operator 
     139         &                 ln_traldf_iso, ln_traldf_msc  ,  rn_slpmax     ,   &   ! option for iso-neutral operator 
     140         &                 ln_triad_iso , ln_botmix_triad, rn_sw_triad    ,   &   ! option for triad operator 
     141         &                 nn_aht_ijk_t , rn_Ud          , rn_Ld                  ! lateral eddy coefficient 
    142142      !!---------------------------------------------------------------------- 
    143143      ! 
     
    163163         WRITE(numout,*) '   Namelist : namtra_ldf --- lateral mixing parameters (type, direction, coefficients)' 
    164164         WRITE(numout,*) '      type :' 
    165          WRITE(numout,*) '         no explicit diffusion                   ln_traldf_NONE  = ', ln_traldf_NONE 
     165         WRITE(numout,*) '         no explicit diffusion                   ln_traldf_OFF   = ', ln_traldf_OFF 
    166166         WRITE(numout,*) '         laplacian operator                      ln_traldf_lap   = ', ln_traldf_lap 
    167167         WRITE(numout,*) '         bilaplacian operator                    ln_traldf_blp   = ', ln_traldf_blp 
     
    188188      nldf_tra = np_ERROR 
    189189      ioptio   = 0 
    190       IF( ln_traldf_NONE ) THEN   ;   nldf_tra = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
    191       IF( ln_traldf_lap  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
    192       IF( ln_traldf_blp  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
    193       IF( ioptio /=  1   )   CALL ctl_stop( 'tra_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
    194       ! 
    195       IF( .NOT.ln_traldf_NONE ) THEN   !==  direction ==>> type of operator  ==! 
     190      IF( ln_traldf_OFF ) THEN   ;   nldf_tra = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
     191      IF( ln_traldf_lap ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     192      IF( ln_traldf_blp ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     193      IF( ioptio /=  1  )   CALL ctl_stop( 'tra_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
     194      ! 
     195      IF( .NOT.ln_traldf_OFF ) THEN    !==  direction ==>> type of operator  ==! 
    196196         ioptio = 0 
    197197         IF( ln_traldf_lev )   ioptio = ioptio + 1 
     
    278278      l_ldftra_time = .FALSE.                ! no time variation except in case defined below 
    279279      ! 
    280       IF( ln_traldf_NONE ) THEN              !== no explicit diffusive operator  ==! 
     280      IF( ln_traldf_OFF ) THEN               !== no explicit diffusive operator  ==! 
    281281         ! 
    282282         IF(lwp) WRITE(numout,*) '   ==>>>   No diffusive operator selected. ahtu and ahtv are not allocated' 
Note: See TracChangeset for help on using the changeset viewer.