Spectral Methods Package (spectral)#

Spectral methods for solving Navier-Stokes equations using Legendre-Gauss-Lobatto grids.

LegendreLobattoBasis

Legendre-Gauss-Lobatto nodal polynomial basis.

legendre_diff_matrix

Return Legendre spectral differentiation matrix at arbitrary nodes.

get_repo_root

Get repository root directory, handling both local and sphinx-gallery execution.