InternalModesConstantStratification

Solve the vertical mode problem for constant buoyancy frequency.


Declaration

classdef InternalModesConstantStratification < InternalModesBase

Overview

InternalModesConstantStratification provides the closed-form solutions used throughout the package for validation and smoke testing. In this model,

\[N^2(z) = N_0^2\]

and the background density is the linear profile

\[\bar{\rho}(z) = \rho_0 - \frac{N_0^2 \rho_0}{g} z.\]

The fixed-\(K\) and fixed-\(\omega\) solutions reduce to trigonometric or hyperbolic functions with analytically known equivalent depths, making this class the main reference implementation for checking the numerical solvers.

im = InternalModesConstantStratification(N0=5.2e-3, zIn=[-5000 0], zOut=zOut, latitude=33);
[F, G, h, omega] = im.modesAtWavenumber(2*pi/1000);

Topics

Developer Topics

These items document internal implementation details and are not part of the primary public API.