- Timestamp:
- 12/27/12 21:41:35 (11 years ago)
- Location:
- trunk/NEMOGCM/NEMO/OPA_SRC/DYN
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90
r7 r63 56 56 !!---------------------------------------------------------------------- 57 57 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 58 !! $Id: dynnxt.F90 3 294 2012-01-28 16:44:18Z rblod $58 !! $Id: dynnxt.F90 3692 2012-11-28 07:54:04Z rblod $ 59 59 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 60 60 !!---------------------------------------------------------------------- … … 156 156 # if defined key_obc 157 157 ! !* OBC open boundaries 158 CALL obc_dyn( kt )158 IF( lk_obc ) CALL obc_dyn( kt ) 159 159 ! 160 160 IF( .NOT. lk_dynspg_flt ) THEN … … 163 163 ! sshn_b (= after ssha_b) for time-splitting case (lk_dynspg_ts=T) 164 164 ! - Correct the barotropic velocities 165 CALL obc_dyn_bt( kt )165 IF( lk_obc ) CALL obc_dyn_bt( kt ) 166 166 ! 167 167 !!gm ERROR - potential BUG: sshn should not be modified at this stage !! ssh_nxt not alrady called 168 168 CALL lbc_lnk( sshn, 'T', 1. ) ! Boundary conditions on sshn 169 169 ! 170 IF( l n_vol_cst ) CALL obc_vol( kt )170 IF( lk_obc .AND. ln_vol_cst ) CALL obc_vol( kt ) 171 171 ! 172 172 IF(ln_ctl) CALL prt_ctl( tab2d_1=sshn, clinfo1=' ssh : ', mask1=tmask ) … … 175 175 # elif defined key_bdy 176 176 ! !* BDY open boundaries 177 IF( lk_ dynspg_exp ) CALL bdy_dyn( kt )178 IF( lk_ dynspg_ts )CALL bdy_dyn( kt, dyn3d_only=.true. )177 IF( lk_bdy .AND. lk_dynspg_exp ) CALL bdy_dyn( kt ) 178 IF( lk_bdy .AND. lk_dynspg_ts ) CALL bdy_dyn( kt, dyn3d_only=.true. ) 179 179 180 180 !!$ Do we need a call to bdy_vol here?? … … 248 248 DO jk = 1, jpkm1 ! Leap-Frog - Asselin filter and swap: 249 249 DO jj = 1, jpj ! applied on thickness weighted velocity 250 DO ji = 1, jpi m1! ---------------------------250 DO ji = 1, jpi ! --------------------------- 251 251 zue3a = ua(ji,jj,jk) * fse3u_a(ji,jj,jk) 252 252 zve3a = va(ji,jj,jk) * fse3v_a(ji,jj,jk) … … 268 268 fse3u_b(:,:,1:jpkm1) = ze3u_f(:,:,1:jpkm1) ! e3u_b <-- filtered scale factor 269 269 fse3v_b(:,:,1:jpkm1) = ze3v_f(:,:,1:jpkm1) 270 CALL lbc_lnk( ub, 'U', -1. ) ! lateral boundary conditions271 CALL lbc_lnk( vb, 'V', -1. )272 270 ENDIF 273 271 ! -
trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90
r43 r63 62 62 !!---------------------------------------------------------------------- 63 63 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 64 !! $Id: dynspg_flt.F90 3 294 2012-01-28 16:44:18Z rblod $64 !! $Id: dynspg_flt.F90 3692 2012-11-28 07:54:04Z rblod $ 65 65 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 66 66 !!---------------------------------------------------------------------- … … 187 187 188 188 #if defined key_obc 189 CALL obc_dyn( kt )! Update velocities on each open boundary with the radiation algorithm190 CALL obc_vol( kt )! Correction of the barotropic componant velocity to control the volume of the system189 IF( lk_obc ) CALL obc_dyn( kt ) ! Update velocities on each open boundary with the radiation algorithm 190 IF( lk_obc) CALL obc_vol( kt ) ! Correction of the barotropic componant velocity to control the volume of the system 191 191 #endif 192 192 #if defined key_bdy 193 CALL bdy_dyn( kt )! Update velocities on each open boundary194 CALL bdy_vol( kt )! Correction of the barotropic component velocity to control the volume of the system193 IF( lk_bdy ) CALL bdy_dyn( kt ) ! Update velocities on each open boundary 194 IF( lk_bdy ) CALL bdy_vol( kt ) ! Correction of the barotropic component velocity to control the volume of the system 195 195 #endif 196 196 #if defined key_agrif
Note: See TracChangeset
for help on using the changeset viewer.