Changeset 11067 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/DYN/dynkeg.F90
- Timestamp:
- 2019-05-29T11:34:32+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/DYN/dynkeg.F90
r11049 r11067 80 80 REAL(wp), ALLOCATABLE, DIMENSION(:,:,:) :: ztrdu, ztrdv 81 81 REAL(wp) :: zweightu, zweightv 82 LOGICAL, DIMENSION(4) :: lsend1, lrecv1 ! indicate how bdy communications are to be carried out 82 83 !!---------------------------------------------------------------------- 83 84 ! … … 134 135 END DO 135 136 END IF 136 CALL lbc_bdy_lnk( 'dynkeg', zhke, 'T', 1., ib_bdy ) ! send 2 and recv jpi, jpj used in the computation of the speed tendencies 137 END DO 137 END DO 138 ! send 2 and recv jpi, jpj used in the computation of the speed tendencies 139 lsend1(:) = .false. 140 lrecv1(:) = .false. 141 DO ib_bdy = 1, nb_bdy 142 lsend1(:) = lsend1(:) .OR. lsend_bdy(ib_bdy,1,:) ! to every bdy neighbour, T points 143 lrecv1(:) = lrecv1(:) .OR. lrecv_bdy(ib_bdy,1,:) ! from every bdy neighbour, T points 144 END DO 145 IF( COUNT(lsend1) > 0 .OR. COUNT(lrecv1) > 0 ) THEN ! if need to send/recv in at least one direction 146 CALL lbc_bdy_lnk( 'bdydyn2d', lsend1, lrecv1, zhke, 'T', 1. ) 147 END IF 138 148 END IF 139 149 !
Note: See TracChangeset
for help on using the changeset viewer.