- Timestamp:
- 2015-06-05T21:14:36+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5302_CNRS18_HPC_scalability/NEMOGCM/NEMO/LIM_SRC_3/limrhg.F90
r5123 r5372 377 377 END DO 378 378 END DO 379 CALL lbc_lnk( v_ice1 , 'U', -1. ) ; CALL lbc_lnk( u_ice2 , 'V', -1. ) ! lateral boundary cond. 379 380 381 #if defined key_multisend 382 CALL lbc_lnk_multi( v_ice1, 'U', -1. , u_ice2, 'V', -1. ) ! lateral boundary cond. 383 #else 384 CALL lbc_lnk( v_ice1, 'U', -1. ) ; CALL lbc_lnk( u_ice2, 'V', -1. ) ! lateral boundary cond. 385 #endif 380 386 381 387 DO jj = k_j1+1, k_jpj-1 … … 412 418 END DO 413 419 END DO 420 421 #if defined key_multisend 422 CALL lbc_lnk_multi( zs1 , 'T', 1. , zs2, 'T', 1. , zs12, 'F', 1. ) 423 424 #else 414 425 CALL lbc_lnk( zs1 , 'T', 1. ) ; CALL lbc_lnk( zs2, 'T', 1. ) 415 426 CALL lbc_lnk( zs12, 'F', 1. ) 427 #endif 428 416 429 417 430 ! Ice internal stresses (Appendix C of Hunke and Dukowicz, 2002) … … 570 583 END DO 571 584 572 CALL lbc_lnk( u_ice(:,:), 'U', -1. ) 573 CALL lbc_lnk( v_ice(:,:), 'V', -1. ) 585 #if defined key_multisend 586 CALL lbc_lnk_multi( u_ice(:,:), 'U', -1. , v_ice(:,:), 'V', -1. ) 587 588 #else 589 CALL lbc_lnk( u_ice(:,:), 'U', -1. ) 590 CALL lbc_lnk( v_ice(:,:), 'V', -1. ) 591 #endif 592 574 593 #if defined key_agrif && defined key_lim2 575 594 CALL agrif_rhg_lim2( nn_nevp , nn_nevp, 'U' ) … … 595 614 END DO 596 615 597 CALL lbc_lnk( u_ice2(:,:), 'V', -1. ) 616 #if defined key_multisend 617 CALL lbc_lnk_multi( u_ice2(:,:), 'V', -1. , v_ice1(:,:), 'U', -1. ) 618 619 #else 620 CALL lbc_lnk( u_ice2(:,:), 'V', -1. ) 598 621 CALL lbc_lnk( v_ice1(:,:), 'U', -1. ) 622 #endif 599 623 600 624 ! Recompute delta, shear and div, inputs for mechanical redistribution … … 642 666 END DO 643 667 668 #if defined key_multisend 669 ! Lateral boundary condition 670 CALL lbc_lnk_multi( divu_i (:,:), 'T', 1. , delta_i(:,:), 'T', 1. , shear_i(:,:), 'T', 1. ) 671 ! CALL lbc_lnk( shear_i(:,:), 'F', 1. ) 672 673 #else 644 674 ! Lateral boundary condition 645 675 CALL lbc_lnk( divu_i (:,:), 'T', 1. ) … … 647 677 ! CALL lbc_lnk( shear_i(:,:), 'F', 1. ) 648 678 CALL lbc_lnk( shear_i(:,:), 'T', 1. ) 679 #endif 649 680 650 681 ! * Store the stress tensor for the next time step
Note: See TracChangeset
for help on using the changeset viewer.