InternalModesWKBSpectral
Initialize the WKB-coordinate spectral solver.
Declaration
im = InternalModesWKBSpectral(options)
Parameters
options.rhodensity profile as gridded values, a spline, or a function handleoptions.N2buoyancy-frequency function handle used instead ofrhooptions.zIninput depth grid or domain boundsoptions.zOutoutput depth gridoptions.latitudelatitude in degreesoptions.rho0reference surface densityoptions.nModesoptional cap on the number of modes returnedoptions.nEVPnumber of collocation points in the stretched-coordinate EVPoptions.rotationRateplanetary rotation rate in radians per secondoptions.ggravitational acceleration
Returns
imWKB-coordinate spectral solver instance
Discussion
This constructor intentionally preserves the public
name-value API used by wave-vortex-model.