Changeset 9097
- Timestamp:
- 2017-12-15T18:36:32+01:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRD/trddyn.F90
r9019 r9097 121 121 z3dx(:,:,:) = 0._wp ! U.dxU & V.dyV (approximation) 122 122 z3dy(:,:,:) = 0._wp 123 DO jk = 1, jpkm1 123 DO jk = 1, jpkm1 ! no mask as un,vn are masked 124 124 DO jj = 2, jpjm1 125 125 DO ji = 2, jpim1 … … 129 129 END DO 130 130 END DO 131 CALL lbc_lnk( z3dx, 'U', -1. ) 132 CALL lbc_lnk( z3dy, 'V', -1. ) 131 CALL lbc_lnk_multi( z3dx, 'U', -1., z3dy, 'V', -1. ) 133 132 CALL iom_put( "utrd_udx", z3dx ) 134 133 CALL iom_put( "vtrd_vdy", z3dy ) … … 151 150 IF( ln_drgimp ) THEN 152 151 ALLOCATE( z3dx(jpi,jpj,jpk) , z3dy(jpi,jpj,jpk) ) 153 154 152 z3dx(:,:,:) = 0._wp ; z3dy(:,:,:) = 0._wp ! after velocity known (now filed at this stage) 153 DO jk = 1, jpkm1 155 154 DO jj = 2, jpjm1 156 155 DO ji = 2, jpim1 157 156 ikbu = mbku(ji,jj) ! deepest ocean u- & v-levels 158 157 ikbv = mbkv(ji,jj) 159 158 z3dx(ji,jj,jk) = 0.5*( rCdU_bot(ji+1,jj)+rCdU_bot(ji,jj) )*un(ji,jj,ikbu)/e3u_n(ji,jj,ikbu) 160 159 z3dy(ji,jj,jk) = 0.5*( rCdU_bot(ji,jj+1)+rCdU_bot(ji,jj) )*vn(ji,jj,ikbv)/e3v_n(ji,jj,ikbv) 161 162 163 164 CALL lbc_lnk( z3dx, 'U', -1. ) ; CALL lbc_lnk(z3dy, 'V', -1. )165 166 160 END DO 161 END DO 162 END DO 163 CALL lbc_lnk_multi( z3dx, 'U', -1., z3dy, 'V', -1. ) 164 CALL iom_put( "utrd_bfr", z3dx ) 165 CALL iom_put( "vtrd_bfr", z3dy ) 167 166 DEALLOCATE( z3dx , z3dy ) 168 167 ENDIF -
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRD/trdken.F90
r9019 r9097 88 88 !!---------------------------------------------------------------------- 89 89 ! 90 CALL lbc_lnk ( putrd, 'U', -1. ) ; CALL lbc_lnk(pvtrd, 'V', -1. ) ! lateral boundary conditions90 CALL lbc_lnk_multi( putrd, 'U', -1. , pvtrd, 'V', -1. ) ! lateral boundary conditions 91 91 ! 92 92 nkstp = kt -
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl.F90
r9019 r9097 153 153 !!gm to be put juste before the output ! 154 154 ! ! Lateral boundary conditions 155 ! CALL lbc_lnk( tmltrd(:,:,jl), 'T', 1. ) 156 ! CALL lbc_lnk( smltrd(:,:,jl), 'T', 1. ) 155 ! CALL lbc_lnk_multi( tmltrd(:,:,jl), 'T', 1. , smltrd(:,:,jl), 'T', 1. ) 157 156 !!gm end 158 157 … … 480 479 !-- Lateral boundary conditions 481 480 ! ... temperature ... ... salinity ... 482 CALL lbc_lnk ( ztmltot , 'T', 1. ) ; CALL lbc_lnk( zsmltot , 'T', 1. )483 CALL lbc_lnk( ztmlres , 'T', 1. ) ; CALL lbc_lnk( zsmlres , 'T', 1. )484 CALL lbc_lnk( ztmlatf , 'T', 1. ) ; CALL lbc_lnk(zsmlatf , 'T', 1. )481 CALL lbc_lnk_multi( ztmltot , 'T', 1., zsmltot , 'T', 1., & 482 & ztmlres , 'T', 1., zsmlres , 'T', 1., & 483 & ztmlatf , 'T', 1., zsmlatf , 'T', 1. ) 485 484 486 485 … … 531 530 !-- Lateral boundary conditions 532 531 ! ... temperature ... ... salinity ... 533 CALL lbc_lnk( ztmltot2, 'T', 1. ) ; CALL lbc_lnk( zsmltot2, 'T', 1. ) 534 CALL lbc_lnk( ztmlres2, 'T', 1. ) ; CALL lbc_lnk( zsmlres2, 'T', 1. ) 535 DO jl = 1, jpltrd 536 CALL lbc_lnk( ztmltrd2(:,:,jl), 'T', 1. ) ! \ these will be output 537 CALL lbc_lnk( zsmltrd2(:,:,jl), 'T', 1. ) ! / in the NetCDF trends file 538 END DO 532 CALL lbc_lnk_multi( ztmltot2, 'T', 1., zsmltot2, 'T', 1., & 533 & ztmlres2, 'T', 1., zsmlres2, 'T', 1. ) 534 CALL lbc_lnk_multi( ztmltrd2(:,:,:), 'T', zsmltrd2(:,:,:), 'T', 1. ) ! / in the NetCDF trends file 539 535 540 536 ! III.3 Time evolution array swap -
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRD/trdvor.F90
r6140 r9097 168 168 169 169 zudpvor(:,:) = 0._wp ; zvdpvor(:,:) = 0._wp ! Initialisation 170 CALL lbc_lnk ( putrdvor, 'U', -1. ) ; CALL lbc_lnk(pvtrdvor, 'V', -1. ) ! lateral boundary condition170 CALL lbc_lnk_multi( putrdvor, 'U', -1. , pvtrdvor, 'V', -1. ) ! lateral boundary condition 171 171 172 172 … … 260 260 zudpvor(:,:) = 0._wp 261 261 zvdpvor(:,:) = 0._wp 262 ! 263 CALL lbc_lnk( putrdvor, 'U', -1. ) ! lateral boundary condition on input momentum trends 264 CALL lbc_lnk( pvtrdvor, 'V', -1. ) 262 ! ! lateral boundary condition on input momentum trends 263 CALL lbc_lnk_multi( putrdvor, 'U', -1. , pvtrdvor, 'V', -1. ) 265 264 266 265 ! ===================================== … … 411 410 412 411 ! Boundary conditions 413 CALL lbc_lnk( vor_avrtot, 'F', 1. ) 414 CALL lbc_lnk( vor_avrres, 'F', 1. ) 412 CALL lbc_lnk_multi( vor_avrtot, 'F', 1. , vor_avrres, 'F', 1. ) 415 413 416 414 -
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/USR/usrdef_sbc.F90
r9019 r9097 186 186 END DO 187 187 END DO 188 CALL lbc_lnk ( taum(:,:), 'T', 1. ) ; CALL lbc_lnk(wndm(:,:), 'T', 1. )188 CALL lbc_lnk_multi( taum(:,:), 'T', 1. , wndm(:,:), 'T', 1. ) 189 189 190 190 ! ---------------------------------- !
Note: See TracChangeset
for help on using the changeset viewer.