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/TOP_SRC/TRP/trcldf.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/TOP_SRC/TRP/trcldf.F90

    r9490 r9526  
    3434   ! 
    3535   !                                      !!: ** lateral mixing namelist (nam_trcldf) ** 
    36    LOGICAL , PUBLIC ::   ln_trcldf_NONE    !: No operator (no explicit lateral diffusion) 
     36   LOGICAL , PUBLIC ::   ln_trcldf_OFF     !: No operator (no explicit lateral diffusion) 
    3737   LOGICAL , PUBLIC ::   ln_trcldf_tra     !: use active tracer operator 
    3838   REAL(wp), PUBLIC ::      rn_ldf_multi      !: multiplier of T-S eddy diffusivity to obtain the passive tracer one 
     
    6767      !!---------------------------------------------------------------------- 
    6868      ! 
    69       IF( ln_trcldf_NONE )   RETURN       ! not lateral diffusion applied on passive tracers 
     69      IF( ln_trcldf_OFF )   RETURN        ! not lateral diffusion applied on passive tracers 
    7070      ! 
    7171      IF( ln_timing )   CALL timing_start('trc_ldf') 
     
    127127      !! ** Purpose :   Define the operator for the lateral diffusion 
    128128      !! 
    129       !! ** Method  : - ln_trcldf_tra =T : use nldf_tra set in ldftra module  
     129      !! ** Method  : - ln_trcldf_tra=T : use nldf_tra set in ldftra module  
    130130      !!              to defined the passive tracer lateral diffusive operator 
    131       !!              - ln_trcldf_NONE=T : no explicit diffusion used 
     131      !!              - ln_trcldf_OFF=T : no explicit diffusion used 
    132132      !!---------------------------------------------------------------------- 
    133133      INTEGER ::   ios, ioptio   ! local integers 
    134134      !! 
    135       NAMELIST/namtrc_ldf/ ln_trcldf_NONE, ln_trcldf_tra,   &   ! operator & direction 
     135      NAMELIST/namtrc_ldf/ ln_trcldf_OFF , ln_trcldf_tra,   &   ! operator & direction 
    136136         &                 rn_ldf_multi  , rn_fact_lap          ! coefficient 
    137137      !!---------------------------------------------------------------------- 
     
    154154      IF(lwp) THEN                     ! Namelist print 
    155155         WRITE(numout,*) '   Namelist namtrc_ldf : set lateral mixing parameters (type, direction, coefficients)' 
    156          WRITE(numout,*) '      no explicit diffusion                 ln_trcldf_NONE  = ', ln_trcldf_NONE 
     156         WRITE(numout,*) '      no explicit diffusion                 ln_trcldf_OFF   = ', ln_trcldf_OFF 
    157157         WRITE(numout,*) '      use active tracer operator            ln_trcldf_tra   = ', ln_trcldf_tra 
    158158         WRITE(numout,*) '      diffusivity coefficient :' 
    159          WRITE(numout,*) '         multiplier of TRA coef. for TRC          rn_ldf_multi = ', rn_ldf_multi 
    160          WRITE(numout,*) '         enhanced zonal Eq. laplacian coef.       rn_fact_lap  = ', rn_fact_lap 
     159         WRITE(numout,*) '         multiplier of TRA coef. for TRC       rn_ldf_multi = ', rn_ldf_multi 
     160         WRITE(numout,*) '         enhanced zonal Eq. laplacian coef.    rn_fact_lap  = ', rn_fact_lap 
    161161 
    162162      ENDIF 
     
    165165      nldf_trc = np_ERROR 
    166166      ioptio   = 0 
    167       IF( ln_trcldf_NONE ) THEN   ;   nldf_trc = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
     167      IF( ln_trcldf_OFF ) THEN   ;   nldf_trc = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
    168168      IF( ln_trcldf_tra  ) THEN   ;   nldf_trc = nldf_tra    ;   ioptio = ioptio + 1   ;   ENDIF 
    169169      IF( ioptio /=  1   )   CALL ctl_stop( 'trc_ldf_ini: use ONE of the 2 operator options (NONE/tra)' ) 
Note: See TracChangeset for help on using the changeset viewer.