Collocation-based spectral-element toolbox

Functions and example codes for a collocation spectral-element scheme (Chebyshev or Legendre)
2,2K Downloads
Aktualisiert 1. Apr 2013

Lizenz anzeigen

Following in the spirit of Trefethen’s “Spectral Methods in MATLAB”, this toolbox provides concise functions and test scripts for a collocation-based spectral-element scheme.

Features include:
- choice of Chebyshev or Legendre collocation points
- flexible domain decomposition
- support for the p-element and hp-element methods of spatial refinement
- automatic barycentric interpolation
- hassle-free enforcement of global continuity across element boundaries
- hassle-free treatment of some non-rectangular domains (e.g. square duct)
- automatic reduction to the standard pseudospectral scheme, as a special case of the spectral-element method.

Example scripts include:
- linear second-order and fourth-order ODEs and PDEs
- nonlinear ODEs and PDEs
- linear eigenvalue equations (second-order and fourth-order)
- a non-conformal scheme for localized spatial refinement.

Zitieren als

Nathaniel Jewell (2025). Collocation-based spectral-element toolbox (https://de.mathworks.com/matlabcentral/fileexchange/41011-collocation-based-spectral-element-toolbox), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: Legendre Collocation Differentiation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

(1) DESCRIPTION: Changed "Laguerre" to "Legendre".
(2) TAGS: Changed "spectralelement" to "spectral element".

1.0.0.0