- Timestamp:
- 2020-06-07T18:26:09+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/lbclnk.F90
r12414 r13056 7 7 !! NEMO 1.0 ! 2002-09 (G. Madec) F90: Free form and module 8 8 !! 3.2 ! 2009-03 (R. Benshila) External north fold treatment 9 !! 3.5 ! 2012 (S.Mocavero, I. Epicoco) optimization of BDY comm. via lbc_bdy_lnk and lbc_obc_lnk9 !! 3.5 ! 2012 (S.Mocavero, I. Epicoco) optimization of BDY comm. 10 10 !! 3.4 ! 2012-12 (R. Bourdalle-Badie, G. Reffray) add a C1D case 11 11 !! 3.6 ! 2015-06 (O. Tintó and M. Castrillo) add lbc_lnk_multi … … 21 21 !!---------------------------------------------------------------------- 22 22 !! lbc_lnk : generic interface for mpp_lnk_3d and mpp_lnk_2d routines defined in lib_mpp 23 !! lbc_bdy_lnk : generic interface for mpp_lnk_bdy_2d and mpp_lnk_bdy_3d routines defined in lib_mpp24 23 !!---------------------------------------------------------------------- 25 24 USE par_oce ! ocean dynamics and tracers … … 37 36 END INTERFACE 38 37 ! 39 INTERFACE lbc_bdy_lnk40 MODULE PROCEDURE mpp_lnk_bdy_2d, mpp_lnk_bdy_3d, mpp_lnk_bdy_4d41 END INTERFACE42 !43 38 INTERFACE lbc_lnk_icb 44 39 MODULE PROCEDURE mpp_lnk_2d_icb … … 47 42 PUBLIC lbc_lnk ! ocean/ice lateral boundary conditions 48 43 PUBLIC lbc_lnk_multi ! modified ocean/ice lateral boundary conditions 49 PUBLIC lbc_bdy_lnk ! ocean lateral BDY boundary conditions50 44 PUBLIC lbc_lnk_icb ! iceberg lateral boundary conditions 51 45 … … 69 63 !! lbc_lnk_3d : set the lateral boundary condition on a 3D variable on ocean mesh 70 64 !! lbc_lnk_2d : set the lateral boundary condition on a 2D variable on ocean mesh 71 !! lbc_bdy_lnk : set the lateral BDY boundary condition72 65 !!---------------------------------------------------------------------- 73 66 USE dom_oce ! ocean space and time domain … … 88 81 END INTERFACE 89 82 ! 90 INTERFACE lbc_bdy_lnk91 MODULE PROCEDURE lbc_bdy_lnk_2d, lbc_bdy_lnk_3d, lbc_bdy_lnk_4d92 END INTERFACE93 !94 83 INTERFACE lbc_lnk_icb 95 84 MODULE PROCEDURE lbc_lnk_2d_icb … … 98 87 PUBLIC lbc_lnk ! ocean/ice lateral boundary conditions 99 88 PUBLIC lbc_lnk_multi ! modified ocean/ice lateral boundary conditions 100 PUBLIC lbc_bdy_lnk ! ocean lateral BDY boundary conditions101 89 PUBLIC lbc_lnk_icb ! iceberg lateral boundary conditions 102 90 … … 172 160 173 161 !!---------------------------------------------------------------------- 174 !! *** routine lbc_bdy_lnk_(2,3,4)d ***175 !!176 !! wrapper rountine to 'lbc_lnk_3d'. This wrapper is used177 !! to maintain the same interface with regards to the mpp case178 !!----------------------------------------------------------------------179 180 SUBROUTINE lbc_bdy_lnk_4d( cdname, pt4d, cd_type, psgn, ib_bdy )181 !!----------------------------------------------------------------------182 CHARACTER(len=*) , INTENT(in ) :: cdname ! name of the calling subroutine183 REAL(wp), DIMENSION(:,:,:,:), INTENT(inout) :: pt4d ! 3D array on which the lbc is applied184 CHARACTER(len=1) , INTENT(in ) :: cd_type ! nature of pt3d grid-points185 REAL(wp) , INTENT(in ) :: psgn ! sign used across north fold186 INTEGER , INTENT(in ) :: ib_bdy ! BDY boundary set187 !!----------------------------------------------------------------------188 CALL lbc_lnk_4d( cdname, pt4d, cd_type, psgn)189 END SUBROUTINE lbc_bdy_lnk_4d190 191 SUBROUTINE lbc_bdy_lnk_3d( cdname, pt3d, cd_type, psgn, ib_bdy )192 !!----------------------------------------------------------------------193 CHARACTER(len=*) , INTENT(in ) :: cdname ! name of the calling subroutine194 REAL(wp), DIMENSION(:,:,:), INTENT(inout) :: pt3d ! 3D array on which the lbc is applied195 CHARACTER(len=1) , INTENT(in ) :: cd_type ! nature of pt3d grid-points196 REAL(wp) , INTENT(in ) :: psgn ! sign used across north fold197 INTEGER , INTENT(in ) :: ib_bdy ! BDY boundary set198 !!----------------------------------------------------------------------199 CALL lbc_lnk_3d( cdname, pt3d, cd_type, psgn)200 END SUBROUTINE lbc_bdy_lnk_3d201 202 203 SUBROUTINE lbc_bdy_lnk_2d( cdname, pt2d, cd_type, psgn, ib_bdy )204 !!----------------------------------------------------------------------205 CHARACTER(len=*) , INTENT(in ) :: cdname ! name of the calling subroutine206 REAL(wp), DIMENSION(:,:), INTENT(inout) :: pt2d ! 3D array on which the lbc is applied207 CHARACTER(len=1) , INTENT(in ) :: cd_type ! nature of pt3d grid-points208 REAL(wp) , INTENT(in ) :: psgn ! sign used across north fold209 INTEGER , INTENT(in ) :: ib_bdy ! BDY boundary set210 !!----------------------------------------------------------------------211 CALL lbc_lnk_2d( cdname, pt2d, cd_type, psgn)212 END SUBROUTINE lbc_bdy_lnk_2d213 214 162 215 163 !!gm This routine should be removed with an optional halos size added in argument of generic routines
Note: See TracChangeset
for help on using the changeset viewer.