Open benjaminleighton opened 3 months ago
● Expand the offshore and cross-shore grid boundaries to provide smooth/consistent boundary bathymetry ○ Offshore boundary: ■ User-specified maximum depth - defaults to -25.0m ■ User specified minimum-slope - defaults to -0.3 per metre ■ Maximum slope default is -0.3 * grid cell size ○ Cross-shore boundaries: ■ Expand grid by 5, duplicate bathymetry
from Simon's notes
As an aside, having the capacity to expand boundaries may be generally useful, XBeach-GPU requires boundaries have side lengths that are multiples of I think 16, in that case we've just duplicated the edge n
lines identically to meet the computational requirement (which is just about domain decomposition for the GPU architecture).
Boundary extension has been implemented in rompy-xbeach, example usages are provided in this notebook.
capability to add offshore boundary ramp extending the bathymetry and grid