Changeset 78 for trunk/NEMO/OPA_SRC/DYN/divcur.F90
- Timestamp:
- 2004-04-22T14:54:25+02:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DYN/divcur.F90
r3 r78 123 123 ! open boundaries (div must be zero behind the open boundary) 124 124 ! mpp remark: The zeroing of hdivn can probably be extended to 1->jpi/jpj for the correct row/column 125 IF( lp eastobc) hdivn(nie0p1:nie1p1,nje0 :nje1 ,jk) = 0.e0 ! east126 IF( lp westobc) hdivn(niw0 :niw1 ,njw0 :njw1 ,jk) = 0.e0 ! west127 IF( lp northobc) hdivn(nin0 :nin1 ,njn0p1:njn1p1,jk) = 0.e0 ! north128 IF( lp southobc) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south125 IF( lp_obc_east ) hdivn(nie0p1:nie1p1,nje0 :nje1 ,jk) = 0.e0 ! east 126 IF( lp_obc_west ) hdivn(niw0 :niw1 ,njw0 :njw1 ,jk) = 0.e0 ! west 127 IF( lp_obc_north ) hdivn(nin0 :nin1 ,njn0p1:njn1p1,jk) = 0.e0 ! north 128 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 129 129 #endif 130 130 … … 319 319 ! open boundaries (div must be zero behind the open boundary) 320 320 ! mpp remark: The zeroing of hdivn can probably be extended to 1->jpi/jpj for the correct row/column 321 IF( lp eastobc) hdivn(nie0p1:nie1p1,nje0 :nje1 ,jk) = 0.e0 ! east322 IF( lp westobc) hdivn(niw0 :niw1 ,njw0 :njw1 ,jk) = 0.e0 ! west323 IF( lp northobc) hdivn(nin0 :nin1 ,njn0p1:njn1p1,jk) = 0.e0 ! north324 IF( lp southobc) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south321 IF( lp_obc_east ) hdivn(nie0p1:nie1p1,nje0 :nje1 ,jk) = 0.e0 ! east 322 IF( lp_obc_west ) hdivn(niw0 :niw1 ,njw0 :njw1 ,jk) = 0.e0 ! west 323 IF( lp_obc_north ) hdivn(nin0 :nin1 ,njn0p1:njn1p1,jk) = 0.e0 ! north 324 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 325 325 #endif 326 326 ! ! --------
Note: See TracChangeset
for help on using the changeset viewer.