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 14072 for NEMO/trunk/src/OCE/TRA/traadv.F90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (4 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/TRA/traadv.F90

    r13982 r14072  
    22   !!============================================================================== 
    33   !!                       ***  MODULE  traadv  *** 
    4    !! Ocean active tracers:  advection trend  
     4   !! Ocean active tracers:  advection trend 
    55   !!============================================================================== 
    66   !! History :  2.0  !  2005-11  (G. Madec)  Original code 
    77   !!            3.3  !  2010-09  (C. Ethe, G. Madec)  merge TRC-TRA + switch from velocity to transport 
    88   !!            3.6  !  2011-06  (G. Madec)  Addition of Mixed Layer Eddy parameterisation 
    9    !!            3.7  !  2014-05  (G. Madec)  Add 2nd/4th order cases for CEN and FCT schemes  
     9   !!            3.7  !  2014-05  (G. Madec)  Add 2nd/4th order cases for CEN and FCT schemes 
    1010   !!             -   !  2014-12  (G. Madec) suppression of cross land advection option 
    1111   !!            3.6  !  2015-06  (E. Clementi) Addition of Stokes drift in case of wave coupling 
     
    3434   USE ldfslp         ! Lateral diffusion: slopes of neutral surfaces 
    3535   USE trd_oce        ! trends: ocean variables 
    36    USE trdtra         ! trends manager: tracers  
    37    USE diaptr         ! Poleward heat transport  
     36   USE trdtra         ! trends manager: tracers 
     37   USE diaptr         ! Poleward heat transport 
    3838   ! 
    3939   USE in_out_manager ! I/O manager 
     
    195195         CASE ( np_MUS )                                 ! MUSCL 
    196196            ! NOTE: [tiling-comms-merge] I added this lbc_lnk as it did not validate against the trunk when using ln_zco 
    197             IF (nn_hls.EQ.2) THEN  
     197            IF (nn_hls.EQ.2) THEN 
    198198                CALL lbc_lnk( 'traadv', pts(:,:,:,:,Kbb), 'T', 1.) 
    199199#if defined key_loop_fusion 
    200                 CALL tra_adv_mus_lf ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups )  
     200                CALL tra_adv_mus_lf ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups ) 
    201201#else 
    202                 CALL tra_adv_mus    ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups )  
     202                CALL tra_adv_mus    ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups ) 
    203203#endif 
    204204            ELSE 
    205                 CALL tra_adv_mus    ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups )  
     205                CALL tra_adv_mus    ( kt, nit000, 'TRA', rDt, zuu, zvv, zww, Kbb, Kmm, pts, jpts, Krhs, ln_mus_ups ) 
    206206            END IF 
    207207         CASE ( np_UBS )                                 ! UBS 
     
    248248      !!--------------------------------------------------------------------- 
    249249      !!                  ***  ROUTINE tra_adv_init  *** 
    250       !!                 
    251       !! ** Purpose :   Control the consistency between namelist options for  
     250      !! 
     251      !! ** Purpose :   Control the consistency between namelist options for 
    252252      !!              tracer advection schemes and set nadv 
    253253      !!---------------------------------------------------------------------- 
     
    290290      ! 
    291291      !                                !==  Parameter control & set nadv ==! 
    292       ioptio = 0                        
     292      ioptio = 0 
    293293      IF( ln_traadv_OFF ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_NO_adv   ;   ENDIF 
    294294      IF( ln_traadv_cen ) THEN   ;   ioptio = ioptio + 1   ;   nadv = np_CEN      ;   ENDIF 
     
    319319      ENDIF 
    320320      ! 
    321       !                                !==  Print the choice  ==!   
     321      !                                !==  Print the choice  ==! 
    322322      IF(lwp) THEN 
    323323         WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.