Changeset 13906 for NEMO/branches/2020/dev_r13898_Tiling_Cleanup_MPI3/tests/OVERFLOW/MY_SRC/usrdef_zgr.F90
- Timestamp:
- 2020-11-28T19:03:50+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13898_Tiling_Cleanup_MPI3/tests/OVERFLOW/MY_SRC/usrdef_zgr.F90
r13295 r13906 93 93 zhu(ji,:) = 0.5_wp * ( zht(ji,:) + zht(ji+1,:) ) 94 94 END DO 95 #if defined key_mpi3 96 CALL lbc_lnk_nc_multi( 'usrdef_zgr', zhu, 'U', 1. ) ! boundary condition: this mask the surrouding grid-points 97 #else 95 98 CALL lbc_lnk( 'usrdef_zgr', zhu, 'U', 1. ) ! boundary condition: this mask the surrouding grid-points 99 #endif 96 100 ! ! ==>>> set by hand non-zero value on first/last columns & rows 97 101 DO ji = mi0(1), mi1(1) ! first row of global domain only … … 112 116 ! the ocean basin surrounded by land (1 grid-point) set through lbc_lnk call as jperio=0 113 117 z2d(:,:) = 1._wp ! surface ocean is the 1st level 118 #if defined key_mpi3 119 CALL lbc_lnk_nc_multi( 'usrdef_zgr', z2d, 'T', 1. ) ! closed basin since jperio = 0 (see userdef_nam.F90) 120 #else 114 121 CALL lbc_lnk( 'usrdef_zgr', z2d, 'T', 1. ) ! closed basin since jperio = 0 (see userdef_nam.F90) 122 #endif 115 123 k_top(:,:) = NINT( z2d(:,:) ) 116 124 !
Note: See TracChangeset
for help on using the changeset viewer.