Changeset 8809
- Timestamp:
- 2017-11-24T16:12:14+01:00 (7 years ago)
- Location:
- branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/NEMO/OPA_SRC/LBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
r8758 r8809 454 454 # include "mpp_bdy_generic.h90" 455 455 # undef ROUTINE_BDY 456 # define MULTI457 # define ROUTINE_BDY mpp_lnk_bdy_2d_ptr458 # include "mpp_bdy_generic.h90"459 # undef ROUTINE_BDY460 # undef MULTI461 456 # undef DIM_2d 462 457 ! … … 467 462 # include "mpp_bdy_generic.h90" 468 463 # undef ROUTINE_BDY 469 # define MULTI470 # define ROUTINE_BDY mpp_lnk_bdy_3d_ptr471 # include "mpp_bdy_generic.h90"472 # undef ROUTINE_BDY473 # undef MULTI474 464 # undef DIM_3d 475 465 ! … … 480 470 !!# include "mpp_bdy_generic.h90" 481 471 !!# undef ROUTINE_BDY 482 !!# define MULTI483 !!# define ROUTINE_BDY mpp_lnk_bdy_4d_ptr484 !!# include "mpp_bdy_generic.h90"485 !!# undef ROUTINE_BDY486 !!# undef MULTI487 472 !!# undef DIM_4d 488 473 … … 572 557 SELECT CASE ( jpni ) 573 558 !!gm ERROR CASE ( 1 ) ; CALL lbc_nfd ( pt2d(1:jpi,1:jpj+jprj), cd_type, psgn, pr2dj=jprj ) 574 !!gm ERRORCASE DEFAULT ; CALL mpp_lbc_north_e( pt2d , cd_type, psgn )559 CASE DEFAULT ; CALL mpp_lbc_north_e( pt2d , cd_type, psgn ) 575 560 END SELECT 576 561 ! … … 1769 1754 SELECT CASE ( jpni ) 1770 1755 !!gm ERROR CASE ( 1 ) ; CALL lbc_nfd ( pt2d(1:jpi,1:jpj+jprj), cd_type, psgn, pr2dj=jprj ) 1771 !!gm ERRORCASE DEFAULT ; CALL mpp_lbc_north_icb( pt2d(1:jpi,1:jpj+jprj) , cd_type, psgn , pr2dj=jprj )1756 CASE DEFAULT ; CALL mpp_lbc_north_icb( pt2d(1:jpi,1:jpj+jprj) , cd_type, psgn , pr2dj=jprj ) 1772 1757 END SELECT 1773 1758 ! -
branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/NEMO/OPA_SRC/LBC/mpp_bdy_generic.h90
r8758 r8809 1 #if defined MULTI2 # define NAT_IN(k) cd_nat(k)3 # define SGN_IN(k) psgn(k)4 # define IBD_IN(k) kb_bdy(k)5 # define F_SIZE(ptab) kfld6 # define OPT_K(k) ,ipf7 # if defined DIM_2d8 # define ARRAY_TYPE(i,j,k,l,f) TYPE(PTR_2D) , INTENT(inout) :: ptab(f)9 # define ARRAY_IN(i,j,k,l,f) ptab(f)%pt2d(i,j)10 # define K_SIZE(ptab) 111 # define L_SIZE(ptab) 112 # endif13 # if defined DIM_3d14 # define ARRAY_TYPE(i,j,k,l,f) TYPE(PTR_3D) , INTENT(inout) :: ptab(f)15 # define ARRAY_IN(i,j,k,l,f) ptab(f)%pt3d(i,j,k)16 # define K_SIZE(ptab) SIZE(ptab(1)%pt3d,3)17 # define L_SIZE(ptab) 118 # endif19 # if defined DIM_4d20 # define ARRAY_TYPE(i,j,k,l,f) TYPE(PTR_4D) , INTENT(inout) :: ptab(f)21 # define ARRAY_IN(i,j,k,l,f) ptab(f)%pt4d(i,j,k,l)22 # define K_SIZE(ptab) SIZE(ptab(1)%pt4d,3)23 # define L_SIZE(ptab) SIZE(ptab(1)%pt4d,4)24 # endif25 #else26 1 # define ARRAY_TYPE(i,j,k,l,f) REAL(wp) , INTENT(inout) :: ARRAY_IN(i,j,k,l,f) 27 2 # define NAT_IN(k) cd_nat … … 45 20 # define L_SIZE(ptab) SIZE(ptab,4) 46 21 # endif 47 #endif 48 49 #if defined MULTI 50 SUBROUTINE ROUTINE_BDY( ptab, cd_nat, psgn, kfld, kb_bdy ) 51 INTEGER , INTENT(in ) :: kfld ! number of pt3d arrays 52 #else 22 53 23 SUBROUTINE ROUTINE_BDY( ptab, cd_nat, psgn , kb_bdy ) 54 #endif55 24 !!---------------------------------------------------------------------- 56 25 !! *** routine mpp_lnk_bdy_3d ***
Note: See TracChangeset
for help on using the changeset viewer.