boundaryModesAtWavenumber
Return either the surface or bottom boundary mode at fixed wavenumber.
Declaration
psi = boundaryModesAtWavenumber(self,k,isSurface)
Parameters
selfInternalModesSpectral instancekhorizontal wavenumber arrayisSurfacelogical flag selecting the surface mode when true and the bottom mode when false
Returns
psirequested boundary mode evaluated onzOut
Discussion
This helper estimates the boundary-grid resolution needed to resolve the smallest retained boundary mode, then solves the manuscript SQG-style boundary-value problem spectrally.
Estimate the grid resolution necessary to resolve the smallest mode.