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 9094 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90 – NEMO

Ignore:
Timestamp:
2017-12-15T18:26:58+01:00 (6 years ago)
Author:
cetlod
Message:

Use of lbclnk_multi in subdir LDF & TRA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90

    r9023 r9094  
    106106      CALL Agrif_tra                     ! AGRIF zoom boundaries 
    107107#endif 
    108       ! 
    109       CALL lbc_lnk( tsa(:,:,:,jp_tem), 'T', 1._wp )      ! local domain boundaries  (T-point, unchanged sign) 
    110       CALL lbc_lnk( tsa(:,:,:,jp_sal), 'T', 1._wp ) 
     108      !                                              ! local domain boundaries  (T-point, unchanged sign) 
     109      CALL lbc_lnk_multi( tsa(:,:,:,jp_tem), 'T', 1., tsa(:,:,:,jp_sal), 'T', 1. ) 
    111110      ! 
    112111      IF( ln_bdy )   CALL bdy_tra( kt )  ! BDY open boundaries 
     
    164163         ENDIF 
    165164         ! 
    166          DO jn = 1, jpts 
    167             CALL lbc_lnk( tsb(:,:,:,jn), 'T', 1._wp )  
    168             CALL lbc_lnk( tsn(:,:,:,jn), 'T', 1._wp ) 
    169             CALL lbc_lnk( tsa(:,:,:,jn), 'T', 1._wp ) 
    170          END DO 
     165         CALL lbc_lnk_multi( tsb(:,:,:,jp_tem), 'T', 1., tsb(:,:,:,jp_sal), 'T', 1., & 
     166                  &          tsn(:,:,:,jp_tem), 'T', 1., tsn(:,:,:,jp_sal), 'T', 1., & 
     167                  &          tsa(:,:,:,jp_tem), 'T', 1., tsa(:,:,:,jp_sal), 'T', 1.  ) 
     168         ! 
    171169      ENDIF      
    172170      ! 
Note: See TracChangeset for help on using the changeset viewer.