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 – 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

Location:
branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcadv.F90

    r9169 r9526  
    3939 
    4040   !                            !!* Namelist namtrc_adv * 
    41    LOGICAL ::   ln_trcadv_NONE   ! no advection on passive tracers 
     41   LOGICAL ::   ln_trcadv_OFF    ! no advection on passive tracers 
    4242   LOGICAL ::   ln_trcadv_cen    ! centered scheme flag 
    4343   INTEGER ::      nn_cen_h, nn_cen_v   ! =2/4 : horizontal and vertical choices of the order of CEN scheme 
     
    155155      INTEGER ::   ioptio, ios   ! Local integer 
    156156      !! 
    157       NAMELIST/namtrc_adv/ ln_trcadv_NONE,                       &   ! No advection 
     157      NAMELIST/namtrc_adv/ ln_trcadv_OFF,                        &   ! No advection 
    158158         &                 ln_trcadv_cen, nn_cen_h, nn_cen_v,    &   ! CEN 
    159159         &                 ln_trcadv_fct, nn_fct_h, nn_fct_v,    &   ! FCT 
     
    177177         WRITE(numout,*) '~~~~~~~~~~~' 
    178178         WRITE(numout,*) '   Namelist namtrc_adv : chose a advection scheme for tracers' 
    179          WRITE(numout,*) '      No advection on passive tracers           ln_trcadv_NONE= ', ln_trcadv_NONE 
     179         WRITE(numout,*) '      No advection on passive tracers           ln_trcadv_OFF = ', ln_trcadv_OFF 
    180180         WRITE(numout,*) '      centered scheme                           ln_trcadv_cen = ', ln_trcadv_cen 
    181181         WRITE(numout,*) '            horizontal 2nd/4th order               nn_cen_h   = ', nn_fct_h 
     
    193193      !                                !==  Parameter control & set nadv ==! 
    194194      ioptio = 0 
    195       IF( ln_trcadv_NONE ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_NO_adv   ;   ENDIF 
    196       IF( ln_trcadv_cen  ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_CEN      ;   ENDIF 
    197       IF( ln_trcadv_fct  ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_FCT      ;   ENDIF 
    198       IF( ln_trcadv_mus  ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_MUS      ;   ENDIF 
    199       IF( ln_trcadv_ubs  ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_UBS      ;   ENDIF 
    200       IF( ln_trcadv_qck  ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_QCK      ;   ENDIF 
     195      IF( ln_trcadv_OFF ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_NO_adv   ;   ENDIF 
     196      IF( ln_trcadv_cen ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_CEN      ;   ENDIF 
     197      IF( ln_trcadv_fct ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_FCT      ;   ENDIF 
     198      IF( ln_trcadv_mus ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_MUS      ;   ENDIF 
     199      IF( ln_trcadv_ubs ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_UBS      ;   ENDIF 
     200      IF( ln_trcadv_qck ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_QCK      ;   ENDIF 
    201201      ! 
    202202      IF( ioptio /= 1 )   CALL ctl_stop( 'trc_adv_ini: Choose ONE advection option in namelist namtrc_adv' ) 
  • 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.