- Timestamp:
- 2010-10-12T20:49:32+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/DYN/divcur.F90
r2148 r2236 14 14 USE in_out_manager ! I/O manager 15 15 USE obc_oce ! ocean lateral open boundary condition 16 USE bdy_oce ! Unstructured open boundaries variables17 16 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 17 USE sbcrnf ! river runoff 18 USE sbc_oce, ONLY : ln_rnf ! surface boundary condition: ocean 18 19 19 20 IMPLICIT NONE … … 79 80 !! 9.0 ! 03-08 (G. Madec) merged of cur and div, free form, F90 80 81 !! ! 05-01 (J. Chanut, A. Sellar) unstructured open boundaries 82 !! NEMO 3.3 ! 2010-09 (D.Storkey and E.O'Dea) bug fixes for BDY module 81 83 !!---------------------------------------------------------------------- 82 84 !! * Arguments … … 132 134 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 133 135 ENDIF 134 #endif135 #if defined key_bdy136 ! unstructured open boundaries (div must be zero behind the open boundary)137 DO jj = 1, jpj138 DO ji = 1, jpi139 hdivn(ji,jj,jk)=hdivn(ji,jj,jk)*bdytmask(ji,jj)140 END DO141 END DO142 136 #endif 143 137 IF( .NOT. AGRIF_Root() ) THEN … … 245 239 END DO ! End of slab 246 240 ! ! =============== 241 242 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 247 243 248 244 ! 4. Lateral boundary conditions on hdivn and rotn … … 346 342 ENDIF 347 343 #endif 348 #if defined key_bdy349 ! unstructured open boundaries (div must be zero behind the open boundary)350 DO jj = 1, jpj351 DO ji = 1, jpi352 hdivn(ji,jj,jk)=hdivn(ji,jj,jk)*bdytmask(ji,jj)353 END DO354 END DO355 #endif356 344 IF( .NOT. AGRIF_Root() ) THEN 357 345 IF ((nbondi == 1).OR.(nbondi == 2)) hdivn(nlci-1 , : ,jk) = 0.e0 ! east … … 374 362 END DO ! End of slab 375 363 ! ! =============== 376 364 365 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 366 377 367 ! 4. Lateral boundary conditions on hdivn and rotn 378 368 ! ---------------------------------=======---======
Note: See TracChangeset
for help on using the changeset viewer.