Changeset 14991 for NEMO/branches/2021
- Timestamp:
- 2021-06-14T21:52:31+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/DOM/istate.F90
r14943 r14991 147 147 ! Do it whatever the free surface method, these arrays being used eventually 148 148 ! 149 !!gm the use of umask & vmask is not necessary below as uu(:,:,:,Kmm), vv(:,:,:,Kmm), uu(:,:,:,Kbb), vv(:,:,:,Kbb) are always masked 150 #if ! defined key_RK3 149 151 uu_b(:,:,Kmm) = 0._wp ; vv_b(:,:,Kmm) = 0._wp 150 !151 !!gm the use of umask & vmask is not necessary below as uu(:,:,:,Kmm), vv(:,:,:,Kmm), uu(:,:,:,Kbb), vv(:,:,:,Kbb) are always masked152 152 DO_3D( 1, 1, 1, 1, 1, jpkm1 ) 153 153 uu_b(ji,jj,Kmm) = uu_b(ji,jj,Kmm) + e3u(ji,jj,jk,Kmm) * uu(ji,jj,jk,Kmm) * umask(ji,jj,jk) 154 154 vv_b(ji,jj,Kmm) = vv_b(ji,jj,Kmm) + e3v(ji,jj,jk,Kmm) * vv(ji,jj,jk,Kmm) * vmask(ji,jj,jk) 155 155 END_3D 156 !157 156 uu_b(:,:,Kmm) = uu_b(:,:,Kmm) * r1_hu(:,:,Kmm) 158 157 vv_b(:,:,Kmm) = vv_b(:,:,Kmm) * r1_hv(:,:,Kmm) 158 #endif 159 159 ! 160 160 #if defined key_RK3
Note: See TracChangeset
for help on using the changeset viewer.