Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Fast and Accurate Computation of Vertical Modes   The vertical modes of linearized equations of motion are widely used by the
oceanographic community in numerous theoretical and observational contexts.
However, the standard approach for solving the generalized eigenvalue problem
using second-order finite difference matrices produces $O(1)$ errors for all
but the few lowest modes, and increasing resolution quickly becomes too slow as
the computational complexity of eigenvalue algorithms increase as $O(n^3)$.
Existing methods are therefore inadequate for computing a full spectrum of
internal waves, such as needed for initializing a numerical model with a full
internal wave spectrum. Here we show that rewriting the eigenvalue problem in
stretched coordinates and projecting onto Chebyshev polynomials results in
substantially more accurate modes than finite-differencing at a fraction of the
computational cost. We also compute the surface quasigeostrophic modes using
the same methods. All spectral and finite difference algorithms are made
available in a suite of Matlab classes that have been validated against known
analytical solutions in constant and exponential stratification.

20
The categories of this paper are: acc-phys
17
The categories of this paper are: q-fin
8
The categories of this paper are: hep-ex
6
The categories of this paper are: astro-ph
36
The categories of this paper are: cmp-lg
5
The categories of this paper are: gr-qc
31
The categories of this paper are: ao-sci
28
The categories of this paper are: alg-geom
22
The categories of this paper are: chao-dyn
19
The categories of this paper are: eess
26
The categories of this paper are: bayes-an
37
The categories of this paper are: supr-con
9
The categories of this paper are: nlin
4
The categories of this paper are: cond-mat
32
The categories of this paper are: atom-ph
24
The categories of this paper are: dg-ga