- Timestamp:
- 2017-12-22T16:45:51+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/TOOLS/NESTING/src/agrif_create_bathy.f90
r9149 r9166 173 173 CALL init_constant_bathy(G0%bathy_meter,bathy_fin_constant) 174 174 ! 175 boundary = connectionsize*irafx + nbghostcellsfine 175 boundary = connectionsize*irafx + nbghostcellsfine + 1 176 176 ! 177 177 ! connection carried out by copying parent grid values for the fine points … … 459 459 CALL Check_interp(G0,gdepw_ps_interp) ! interpolation in connection zone (3 coarse grid cells) 460 460 ! 461 boundary = connectionsize*irafx + nbghostcellsfine 461 boundary = connectionsize*irafx + nbghostcellsfine + 1 462 462 G1%gdepw_ps(1:boundary,:) = gdepw_ps_interp(1:boundary,:) 463 463 G1%gdepw_ps(:,1:boundary) = gdepw_ps_interp(:,1:boundary) … … 531 531 ! Smoothing to connect the connection zone (3 + nb_connection_pts coarse grid cells) and the interior domain 532 532 ! 533 boundary = (connectionsize+nb_connection_pts)*irafx + nbghostcellsfine 533 boundary = (connectionsize+nb_connection_pts)*irafx + nbghostcellsfine + 1 534 534 CALL smooth_topo(G1%gdepw_ps(boundary:nxfin-boundary+1,boundary:nyfin-boundary+1),nbiter) 535 535 G1%bathy_meter = G1%gdepw_ps … … 611 611 CALL init_constant_bathy(G0%bathy_meter,bathy_fin_constant) 612 612 ! 613 boundary = connectionsize*irafx + nbghostcellsfine 613 boundary = connectionsize*irafx + nbghostcellsfine + 1 614 614 ! 615 615 G1%bathy_meter(1:boundary,:) = bathy_fin_constant(1:boundary,:)
Note: See TracChangeset
for help on using the changeset viewer.