Changeset 64
- Timestamp:
- 12/27/12 21:55:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/DYN/divcur.F90
r7 r64 27 27 USE sbc_oce, ONLY : ln_rnf ! surface boundary condition: ocean 28 28 USE sbcrnf ! river runoff 29 USE obc_oce ! ocean lateral open boundary condition 29 30 USE cla ! cross land advection (cla_div routine) 30 31 USE in_out_manager ! I/O manager … … 302 303 END DO 303 304 305 #if defined key_obc 306 IF( Agrif_Root() ) THEN 307 ! open boundaries (div must be zero behind the open boundary) 308 ! mpp remark: The zeroing of hdivn can probably be extended to 1->jpi/jpj for the correct row/column 309 IF( lp_obc_east ) hdivn(nie0p1:nie1p1,nje0 :nje1 ,jk) = 0.e0 ! east 310 IF( lp_obc_west ) hdivn(niw0 :niw1 ,njw0 :njw1 ,jk) = 0.e0 ! west 311 IF( lp_obc_north ) hdivn(nin0 :nin1 ,njn0p1:njn1p1,jk) = 0.e0 ! north 312 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 313 ENDIF 314 #endif 315 304 316 IF( .NOT. AGRIF_Root() ) THEN 305 317 IF ((nbondi == 1).OR.(nbondi == 2)) hdivn(nlci-1 , : ,jk) = 0.e0 ! east
Note: See TracChangeset
for help on using the changeset viewer.