Changeset 14757 for NEMO/branches/2021/dev_r14393_HPC-03_Mele_Comm_Cleanup/src/OCE/DYN/dynldf_lap_blp.F90
- Timestamp:
- 2021-04-27T17:33:44+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14393_HPC-03_Mele_Comm_Cleanup/src/OCE/DYN/dynldf_lap_blp.F90
r14682 r14757 83 83 DO jk = 1, jpkm1 ! Horizontal slab 84 84 ! 85 ! [comm_cleanup] ! DO_2D( 0, 1, 0, 1 )86 85 DO_2D( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 87 86 ! ! ahm * e3 * curl (computed from 1 to jpim1/jpjm1) … … 95 94 END_2D 96 95 ! 97 ! [comm_cleanup] ! DO_2D( 0, 0, 0, 0 ) ! - curl( curl) + grad( div )98 96 DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) ! - curl( curl) + grad( div ) 99 97 pu_rhs(ji,jj,jk) = pu_rhs(ji,jj,jk) + zsign * umask(ji,jj,jk) * ( & ! * by umask is mandatory for dyn_ldf_blp use … … 116 114 DO jk = 1, jpkm1 ! Horizontal slab 117 115 ! 118 ! [comm_cleanup] ! DO_2D( 0, 1, 0, 1 )119 116 DO_2D( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 120 117 ! ! shearing stress component (F-point) NB : ahmf has already been multiplied by fmask … … 132 129 END_2D 133 130 ! 134 ! [comm_cleanup] ! DO_2D( 0, 0, 0, 0 )135 131 DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) 136 132 pu_rhs(ji,jj,jk) = pu_rhs(ji,jj,jk) + zsign * r1_e1e2u(ji,jj) / e3u(ji,jj,jk,Kmm) & … … 189 185 CALL dyn_ldf_lap( kt, Kbb, Kmm, pu, pv, zulap, zvlap, 1 ) ! rotated laplacian applied to pt (output in zlap,Kbb) 190 186 ! 191 IF (nn_hls .eq.1) CALL lbc_lnk( 'dynldf_lap_blp', zulap, 'U', -1.0_wp, zvlap, 'V', -1.0_wp ) ! Lateral boundary conditions187 IF (nn_hls==1) CALL lbc_lnk( 'dynldf_lap_blp', zulap, 'U', -1.0_wp, zvlap, 'V', -1.0_wp ) ! Lateral boundary conditions 192 188 ! 193 189 CALL dyn_ldf_lap( kt, Kbb, Kmm, zulap, zvlap, pu_rhs, pv_rhs, 2 ) ! rotated laplacian applied to zlap (output in pt(:,:,:,:,Krhs))
Note: See TracChangeset
for help on using the changeset viewer.