Changeset 1884 for branches/TAM_V3_0/NEMO/OPA_SRC/OBC/obctra.F90
- Timestamp:
- 2010-05-27T11:26:52+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TAM_V3_0/NEMO/OPA_SRC/OBC/obctra.F90
r1152 r1884 43 43 rtauein, rtauwin, rtaunin, rtausin ! Boundary restoring coefficient for inflow 44 44 45 LOGICAL :: ll_fbc 46 45 47 !! * Substitutions 46 48 # include "obc_vectopt_loop_substitute.h90" … … 91 93 END IF 92 94 93 IF( lp_obc_east ) CALL obc_tra_east ( kt ) ! East open boundary 94 95 IF( lp_obc_west ) CALL obc_tra_west ( kt ) ! West open boundary 96 97 IF( lp_obc_north ) CALL obc_tra_north( kt ) ! North open boundary 98 99 IF( lp_obc_south ) CALL obc_tra_south( kt ) ! South open boundary 95 ll_fbc = ( ( kt < nit000+3 ) .AND. .NOT. ln_rstart ) 96 97 IF ( cp_cfg == "indian" ) THEN 98 ll_fbc = ( ( kt < nit000+30 ) .AND. .NOT. ln_obc_rstart ) 99 ENDIF 100 101 IF( lp_obc_east ) CALL obc_tra_east ! East open boundary 102 103 IF( lp_obc_west ) CALL obc_tra_west ! West open boundary 104 105 IF( lp_obc_north ) CALL obc_tra_north ! North open boundary 106 107 IF( lp_obc_south ) CALL obc_tra_south ! South open boundary 108 100 109 101 110 IF( lk_mpp ) THEN !!bug ??? … … 111 120 112 121 113 SUBROUTINE obc_tra_east ( kt )122 SUBROUTINE obc_tra_east 114 123 !!------------------------------------------------------------------------------ 115 124 !! *** SUBROUTINE obc_tra_east *** … … 128 137 !!------------------------------------------------------------------------------ 129 138 !! * Arguments 130 INTEGER, INTENT( in ) :: kt131 139 132 140 !! * Local declaration … … 139 147 ! -------------------------------------------------------- 140 148 141 IF( ( kt < nit000+3 .AND. .NOT.ln_rstart ) .OR. lfbceast ) THEN 142 DO ji = fs_nie0+1, fs_nie1+1 ! Vector opt. 149 IF ( ll_fbc .OR. lfbceast ) THEN 150 151 DO ji = fs_nie0+1, fs_nie1+1 ! Vector opt. 143 152 DO jk = 1, jpkm1 144 153 DO jj = 1, jpj … … 211 220 212 221 213 SUBROUTINE obc_tra_west ( kt )222 SUBROUTINE obc_tra_west 214 223 !!------------------------------------------------------------------------------ 215 224 !! *** SUBROUTINE obc_tra_west *** … … 228 237 !!------------------------------------------------------------------------------ 229 238 !! * Arguments 230 INTEGER, INTENT( in ) :: kt231 239 232 240 !! * Local declaration … … 239 247 ! -------------------------------------------------------- 240 248 241 IF ( ( kt < nit000+3 .AND. .NOT.ln_rstart ).OR. lfbcwest ) THEN249 IF ( ll_fbc .OR. lfbcwest ) THEN 242 250 243 251 DO ji = fs_niw0, fs_niw1 ! Vector opt. … … 310 318 311 319 312 SUBROUTINE obc_tra_north ( kt )320 SUBROUTINE obc_tra_north 313 321 !!------------------------------------------------------------------------------ 314 322 !! *** SUBROUTINE obc_tra_north *** … … 327 335 !!------------------------------------------------------------------------------ 328 336 !! * Arguments 329 INTEGER, INTENT( in ) :: kt330 337 331 338 !! * Local declaration … … 338 345 ! -------------------------------------------------------- 339 346 340 IF ( ( kt < nit000+3 .AND. .NOT.ln_rstart ).OR. lfbcnorth ) THEN347 IF ( ll_fbc .OR. lfbcnorth ) THEN 341 348 342 349 DO jj = fs_njn0+1, fs_njn1+1 ! Vector opt. … … 412 419 413 420 414 SUBROUTINE obc_tra_south ( kt )421 SUBROUTINE obc_tra_south 415 422 !!------------------------------------------------------------------------------ 416 423 !! *** SUBROUTINE obc_tra_south *** … … 429 436 !!------------------------------------------------------------------------------ 430 437 !! * Arguments 431 INTEGER, INTENT( in ) :: kt432 438 433 439 !! * Local declaration … … 440 446 ! -------------------------------------------------------- 441 447 442 IF ( ( kt < nit000+3 .AND. .NOT.ln_rstart ).OR. lfbcsouth ) THEN448 IF ( ll_fbc .OR. lfbcsouth ) THEN 443 449 444 450 DO jj = fs_njs0, fs_njs1 ! Vector opt.
Note: See TracChangeset
for help on using the changeset viewer.