New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14663 for NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/TRA/trabbl.F90 – NEMO

Ignore:
Timestamp:
2021-03-31T19:01:28+02:00 (3 years ago)
Author:
hadcv
Message:

#2600: Some additional TRA changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/TRA/trabbl.F90

    r14636 r14663  
    140140            ! lateral boundary conditions ; just need for outputs 
    141141            ! [ comm_cleanup ] ! no need lbc_lnk for outputs 
     142            ! NOTE: [tiling] removal of this lbc_lnk causes results to change, as the sign was unchanged (bug in trunk) 
    142143            ! CALL lbc_lnk( 'trabbl', utr_bbl, 'U', 1.0_wp , vtr_bbl, 'V', 1.0_wp ) 
    143144         ENDIF 
     
    214215 
    215216 
     217   ! NOTE: [tiling] tiling changes the results, but only the order of floating point operations is different 
    216218   SUBROUTINE tra_bbl_adv( pt, pt_rhs, kjpt, Kmm ) 
    217219      !!---------------------------------------------------------------------- 
     
    358360      IF( nn_bbl_ldf == 1 ) THEN          !   diffusive bbl   ! 
    359361         !                                !-------------------! 
    360          DO_2D( 1, 0, 1, 0 )                   ! (criteria for non zero flux: grad(rho).grad(h) < 0 ) 
     362         DO_2D_OVR( 1, 0, 1, 0 )                   ! (criteria for non zero flux: grad(rho).grad(h) < 0 ) 
    361363            !                                                   ! i-direction 
    362364            za = zab(ji+1,jj,jp_tem) + zab(ji,jj,jp_tem)              ! 2*(alpha,beta) at u-point 
     
    388390         ! 
    389391         CASE( 1 )                                   != use of upper velocity 
    390             DO_2D( 1, 0, 1, 0 )                              ! criteria: grad(rho).grad(h)<0  and grad(rho).grad(h)<0 
     392            DO_2D_OVR( 1, 0, 1, 0 )                              ! criteria: grad(rho).grad(h)<0  and grad(rho).grad(h)<0 
    391393               !                                                  ! i-direction 
    392394               za = zab(ji+1,jj,jp_tem) + zab(ji,jj,jp_tem)               ! 2*(alpha,beta) at u-point 
     
    417419         CASE( 2 )                                 != bbl velocity = F( delta rho ) 
    418420            zgbbl = grav * rn_gambbl 
    419             DO_2D( 1, 0, 1, 0 )                         ! criteria: rho_up > rho_down 
     421            DO_2D_OVR( 1, 0, 1, 0 )                         ! criteria: rho_up > rho_down 
    420422               !                                                  ! i-direction 
    421423               ! down-slope T-point i/k-index (deep)  &   up-slope T-point i/k-index (shelf) 
Note: See TracChangeset for help on using the changeset viewer.