Changeset 2559
- Timestamp:
- 2011-01-17T11:13:19+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OFF_SRC/dtadyn.F90
r2528 r2559 367 367 CALL iom_get( numfl_u, jpdom_data, 'vozocrtx', zu (:,:,:), jkenr ) 368 368 CALL iom_get( numfl_v, jpdom_data, 'vomecrty', zv (:,:,:), jkenr ) 369 IF( lk_trabbl .AND. .NOT. lk_c1d .AND. nn_bbl_ldf == 1 ) THEN 369 #if defined key_trabbl 370 IF( .NOT. lk_c1d .AND. nn_bbl_ldf == 1 ) THEN 370 371 IF( iom_varid( numfl_u, 'sobblcox', ldstop = .FALSE. ) > 0 .AND. & 371 372 & iom_varid( numfl_v, 'sobblcoy', ldstop = .FALSE. ) > 0 ) THEN … … 375 376 ENDIF 376 377 ENDIF 378 #endif 377 379 378 380 ! file grid-W … … 433 435 hmlddta(:,:,2) = zmld(:,:) * tmask(:,:,1) 434 436 437 #if defined key_trabbl 435 438 IF( l_offbbl ) THEN 436 439 bblxdta(:,:,2) = MAX( 0., zbblx(:,:) ) … … 439 442 WHERE( bblydta(:,:,2) > 2. ) bblydta(:,:,2) = 0. 440 443 ENDIF 444 #endif 441 445 442 446 IF( kt == nitend ) THEN … … 565 569 ENDIF 566 570 ! 571 #if defined key_ldfeiv 567 572 ! Average the diffusive coefficient at u- v- points 568 573 DO jj = 2, jpjm1 … … 573 578 END DO 574 579 CALL lbc_lnk( aeiu, 'U', 1. ) ; CALL lbc_lnk( aeiv, 'V', 1. ) ! lateral boundary condition 580 #endif 575 581 ! 576 582 END SUBROUTINE dta_eiv … … 687 693 emps(:,:) = emp(:,:) 688 694 qsr (:,:) = qsrdta (:,:,2) 695 #if defined key_trabbl 689 696 IF( l_offbbl ) THEN 690 697 ahu_bbl(:,:) = bblxdta(:,:,2) 691 698 ahv_bbl(:,:) = bblydta(:,:,2) 692 699 ENDIF 700 #endif 693 701 #if ! defined key_degrad && defined key_traldf_c2d && defined key_traldf_eiv 694 702 aeiw(:,:) = aeiwdta(:,:,2) … … 743 751 emps(:,:) = emp(:,:) 744 752 qsr (:,:) = zweighm1 * qsrdta (:,:,1) + pweigh * qsrdta (:,:,2) 753 #if defined key_trabbl 745 754 IF( l_offbbl ) THEN 746 755 ahu_bbl(:,:) = zweighm1 * bblxdta(:,:,1) + pweigh * bblxdta(:,:,2) 747 756 ahv_bbl(:,:) = zweighm1 * bblydta(:,:,1) + pweigh * bblydta(:,:,2) 748 757 ENDIF 758 #endif 749 759 750 760 #if ! defined key_degrad && defined key_traldf_c2d && defined key_traldf_eiv
Note: See TracChangeset
for help on using the changeset viewer.