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 14576 for NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/step.F90 – NEMO

Ignore:
Timestamp:
2021-03-03T17:04:07+01:00 (3 years ago)
Author:
hadcv
Message:

#2600: Merge in dev_r14393_HPC-03_Mele_Comm_Cleanup r14538

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/step.F90

    r14239 r14576  
    289289#endif 
    290290 
     291     ! [comm_cleanup] 
     292     IF (nn_hls.EQ.2) THEN 
     293         SELECT CASE ( nadv ) 
     294         CASE ( np_FCT )                                 ! FCT scheme      : 2nd / 4th order 
     295               CALL lbc_lnk( 'stp', ts(:,:,:,:,Nbb), 'T', 1., ts(:,:,:,:,Nnn), 'T', 1.) 
     296               CALL lbc_lnk( 'stp', uu(:,:,:,Nnn), 'U', -1., vv(:,:,:,Nnn), 'V', -1., ww(:,:,:), 'W', 1.) 
     297         CASE ( np_MUS )                                 ! MUSCL 
     298                CALL lbc_lnk( 'stp', ts(:,:,:,:,Nbb), 'T', 1.) 
     299         CASE ( np_UBS )                                 ! UBS 
     300                CALL lbc_lnk( 'stp', ts(:,:,:,:,Nbb), 'T', 1.) 
     301         CASE ( np_QCK )                                 ! QUICKEST 
     302               CALL lbc_lnk( 'stp', uu(:,:,:,Nnn), 'U', -1., vv(:,:,:,Nnn), 'V', -1.) 
     303               CALL lbc_lnk( 'stp', ts(:,:,:,:,Nbb), 'T', 1.) 
     304         END SELECT 
     305      ENDIF 
     306 
    291307      ! TEMP: [tiling] Separate loop over tile domains (due to tra_adv workarounds for tiling) 
    292308      DO jtile = 1, nijtile 
     
    323339!! 
    324340!!jc2: dynnxt must be the latest call. e3t(:,:,:,Nbb) are indeed updated in that routine 
     341                         ! [comm_cleanup]  
     342                         CALL lbc_lnk( 'stp', ts(:,:,:,jp_tem,Naa), 'T', 1.0_wp, ts(:,:,:,jp_sal,Naa), 'T', 1.0_wp ) 
    325343                         CALL tra_atf       ( kstp, Nbb, Nnn, Naa, ts )                      ! time filtering of "now" tracer arrays 
    326344                         CALL dyn_atf       ( kstp, Nbb, Nnn, Naa, uu, vv, e3t, e3u, e3v  )  ! time filtering of "now" velocities and scale factors 
Note: See TracChangeset for help on using the changeset viewer.