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 8811 for branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/NEMO/OPA_SRC/LBC/lbclnk.F90 – NEMO

Ignore:
Timestamp:
2017-11-24T17:22:26+01:00 (6 years ago)
Author:
acc
Message:

Branch 2017/dev_r8126_ROBUST08_no_ghost. Cleaning of lib_mpp.F90 and reactivation of extended halo exchanges for icb only. mpp_lnk_2d_icb remains the only extended-halo exchange routine and is accessed via the generic routine: lbc_lnk_icb. This should be viewed as a temporary solution pending extended halo capabilities being added to all lbc_lnk routines. mpp_lnk_2d_icb does not support the ln_nnogather optimisation and uses its own alternative to mpp_nfd (mpp_lbc_north_icb) to handle the north-fold. This, in turn, uses an extended halo version of lbc_nfd which is, currently, maintained separately in a new include file: lbc_nfd_ext_generic.h90 (included in lbcnfd.F90). These changes compile, run and pass all SETTE tests but full verification awaits a test that actually passes icebergs across the north-fold

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/NEMO/OPA_SRC/LBC/lbclnk.F90

    r8186 r8811  
    2121   !!---------------------------------------------------------------------- 
    2222   !!   lbc_lnk       : generic interface for mpp_lnk_3d and mpp_lnk_2d routines defined in lib_mpp 
    23    !!   lbc_lnk_e     : generic interface for mpp_lnk_2d_e routine defined in lib_mpp 
    2423   !!   lbc_bdy_lnk   : generic interface for mpp_lnk_bdy_2d and mpp_lnk_bdy_3d routines defined in lib_mpp 
    2524   !!---------------------------------------------------------------------- 
     
    4241   END INTERFACE 
    4342   ! 
    44    INTERFACE lbc_lnk_e 
    45       MODULE PROCEDURE mpp_lnk_2d_e 
    46    END INTERFACE 
    47    ! 
    4843   INTERFACE lbc_lnk_icb 
    4944      MODULE PROCEDURE mpp_lnk_2d_icb 
     
    5247   PUBLIC   lbc_lnk       ! ocean/ice lateral boundary conditions 
    5348   PUBLIC   lbc_lnk_multi ! modified ocean/ice lateral boundary conditions 
    54    PUBLIC   lbc_lnk_e     ! extended ocean/ice lateral boundary conditions 
    5549   PUBLIC   lbc_bdy_lnk   ! ocean lateral BDY boundary conditions 
    5650   PUBLIC   lbc_lnk_icb   ! iceberg lateral boundary conditions 
     
    9589   END INTERFACE 
    9690   ! 
    97    INTERFACE lbc_lnk_e 
    98       MODULE PROCEDURE lbc_lnk_2d_e 
    99    END INTERFACE 
    100    ! 
    10191   INTERFACE lbc_bdy_lnk 
    10292      MODULE PROCEDURE lbc_bdy_lnk_2d, lbc_bdy_lnk_3d 
     
    10494   ! 
    10595   INTERFACE lbc_lnk_icb 
    106       MODULE PROCEDURE lbc_lnk_2d_e 
     96      MODULE PROCEDURE lbc_lnk_2d_icb 
    10797   END INTERFACE 
    10898    
    10999   PUBLIC   lbc_lnk       ! ocean/ice  lateral boundary conditions 
    110    PUBLIC   lbc_lnk_e     ! extended ocean/ice lateral boundary conditions 
    111100   PUBLIC   lbc_lnk_multi ! modified ocean/ice lateral boundary conditions 
    112101   PUBLIC   lbc_bdy_lnk   ! ocean lateral BDY boundary conditions 
     
    270259 
    271260 
    272 !!gm  This routine should be remove with an optional halos size added in orgument of generic routines 
    273  
    274    SUBROUTINE lbc_lnk_2d_e( pt2d, cd_type, psgn, ki, kj ) 
     261!!gm  This routine should be removed with an optional halos size added in argument of generic routines 
     262 
     263   SUBROUTINE lbc_lnk_2d_icb( pt2d, cd_type, psgn, ki, kj ) 
    275264      !!---------------------------------------------------------------------- 
    276265      REAL(wp), DIMENSION(:,:), INTENT(inout) ::   pt2d      ! 2D array on which the lbc is applied 
     
    280269      !!---------------------------------------------------------------------- 
    281270      CALL lbc_lnk_2d( pt2d, cd_type, psgn ) 
    282    END SUBROUTINE lbc_lnk_2d_e 
     271   END SUBROUTINE lbc_lnk_2d_icb 
    283272!!gm end 
    284273 
Note: See TracChangeset for help on using the changeset viewer.