Changeset 14949
- Timestamp:
- 2021-06-04T17:12:54+02:00 (3 years ago)
- Location:
- NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/stp2d.F90
r14800 r14949 233 233 ! !== Add the IAU weighted SSH increment ==! 234 234 ! 235 IF( lk_asminc .AND. ln_sshinc .AND. ln_asmiau ) zsshe_rhs(:,:) = zsshe_rhs(:,:) - ssh_iau(:,:)235 IF( lk_asminc .AND. ln_sshinc .AND. ln_asmiau ) sshe_rhs(:,:) = sshe_rhs(:,:) - ssh_iau(:,:) 236 236 #endif 237 237 ! -
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/stprk3.F90
r14941 r14949 337 337 END SUBROUTINE mlf_baro_corr 338 338 339 340 SUBROUTINE finalize_lbc( kt, Kbb, Kaa, puu, pvv, pts )341 !!----------------------------------------------------------------------342 !! *** ROUTINE finalize_lbc ***343 !!344 !! ** Purpose : Apply the boundary condition on the after velocity345 !!346 !! ** Method : * Apply lateral boundary conditions on after velocity347 !! at the local domain boundaries through lbc_lnk call,348 !! at the one-way open boundaries (ln_bdy=T),349 !! at the AGRIF zoom boundaries (lk_agrif=T)350 !!351 !! ** Action : puu(Kaa),pvv(Kaa) after horizontal velocity and tracers352 !!----------------------------------------------------------------------353 #if defined key_agrif354 USE agrif_oce_interp355 #endif356 USE bdydyn ! ocean open boundary conditions (define bdy_dyn)357 !!358 INTEGER , INTENT(in ) :: kt ! ocean time-step index359 INTEGER , INTENT(in ) :: Kbb, Kaa ! before and after time level indices360 REAL(wp), DIMENSION(jpi,jpj,jpk,jpt) , INTENT(inout) :: puu, pvv ! velocities to be time filtered361 REAL(wp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) :: pts ! active tracers362 !!----------------------------------------------------------------------363 !364 ! Update after tracer and velocity on domain lateral boundaries365 !366 # if defined key_agrif367 CALL Agrif_tra( kt ) !* AGRIF zoom boundaries368 CALL Agrif_dyn( kt )369 # endif370 ! ! local domain boundaries (T-point, unchanged sign)371 CALL lbc_lnk_multi( 'finalize_lbc', puu(:,:,:, Kaa), 'U', -1., pvv(:,:,: ,Kaa), 'V', -1. &372 & , pts(:,:,:,jp_tem,Kaa), 'T', 1., pts(:,:,:,jp_sal,Kaa), 'T', 1. )373 !374 ! !* BDY open boundaries375 IF( ln_bdy ) THEN376 CALL bdy_tra( kt, Kbb, pts, Kaa )377 IF( ln_dynspg_exp ) CALL bdy_dyn( kt, Kbb, puu, pvv, Kaa )378 IF( ln_dynspg_ts ) CALL bdy_dyn( kt, Kbb, puu, pvv, Kaa, dyn3d_only=.true. )379 ENDIF380 !381 END SUBROUTINE finalize_lbc382 383 339 #else 384 340 !!----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.