Changeset 2219 for branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC/DYN
- Timestamp:
- 2010-10-12T15:06:30+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2191_3partymerge2010/NEMO/OPA_SRC/DYN/dynspg_flt.F90
r2208 r2219 46 46 USE iom 47 47 USE restart ! only for lrst_oce 48 USE lib_fortran 48 49 #if defined key_agrif 49 50 USE agrif_opa_interp … … 188 189 189 190 #if defined key_obc 190 IF( lk_obc ) CALL obc_dyn( kt )! Update velocities on each open boundary with the radiation algorithm191 IF( lk_obc ) CALL obc_vol( kt )! Correction of the barotropic componant velocity to control the volume of the system191 CALL obc_dyn( kt ) ! Update velocities on each open boundary with the radiation algorithm 192 CALL obc_vol( kt ) ! Correction of the barotropic componant velocity to control the volume of the system 192 193 #endif 193 194 #if defined key_bdy … … 283 284 ! ------------------ 284 285 rnorme =0.e0 285 rnorme = SUM( gcb(1:jpi,1:jpj) * gcdmat(1:jpi,1:jpj) * gcb(1:jpi,1:jpj) * bmask(:,:) ) 286 IF( lk_mpp ) CALL mpp_sum( rnorme ) ! sum over the global domain 286 rnorme = GLOB_SUM( gcb(1:jpi,1:jpj) * gcdmat(1:jpi,1:jpj) * gcb(1:jpi,1:jpj) * bmask(:,:) ) 287 287 288 288 epsr = eps * eps * rnorme … … 317 317 #if defined key_obc 318 318 ! caution : grad D = 0 along open boundaries 319 IF( Agrif_Root() ) THEN 320 spgu(ji,jj) = z2dt * ztdgu * obcumask(ji,jj) 321 spgv(ji,jj) = z2dt * ztdgv * obcvmask(ji,jj) 322 ELSE 323 spgu(ji,jj) = z2dt * ztdgu 324 spgv(ji,jj) = z2dt * ztdgv 325 ENDIF 319 spgu(ji,jj) = z2dt * ztdgu * obcumask(ji,jj) 320 spgv(ji,jj) = z2dt * ztdgv * obcvmask(ji,jj) 326 321 #elif defined key_bdy 327 322 ! caution : grad D = 0 along open boundaries
Note: See TracChangeset
for help on using the changeset viewer.