The automatic solution of partial differential equations using a global spectral method

Alex Townsend, Sheehan Olver
9/9/2014
88 citations
math.NA

Official code: JuliaApproximation/ApproxFun.jl (564 stars, Julia, last commit 2026-10-01).

Abstract

A spectral method for solving linear partial differential equations (PDEs) with variable coefficients and general boundary conditions defined on rectangular domains is described, based on separable representations of partial differential operators and the one-dimensional ultraspherical spectral method. If a partial differential operator is of splitting rank $2$, such as the operator associated with Poisson or Helmholtz, the corresponding PDE is solved via a generalized Sylvester matrix equation, and a bivariate polynomial approximation of the solution of degree $(n_x,n_y)$ is computed in $\mathcal{O}((n_x n_y)^{3/2})$ operations.

Show full abstract

Partial differential operators of splitting rank $\geq 3$ are solved via a linear system involving a block-banded matrix in $\mathcal{O}(\min(n_x^{3} n_y,n_x n_y^{3}))$ operations. Numerical examples demonstrate the applicability of our 2D spectral method to a broad class of PDEs, which includes elliptic and dispersive time-evolution equations. The resulting PDE solver is written in MATLAB and is publicly available as part of CHEBFUN. It can resolve solutions requiring over a million degrees of freedom in under $60$ seconds. An experimental implementation in the Julia language can currently perform the same solve in $10$ seconds.

View on arXivView PDF

Code Implementations(1)

Julia package for function approximation

56471JuliaJul 1, 20132 months agoNOASSERTION
approximationjuliapartial-differential-equations

Similar Papers

Cite this paper

@article{townsend2014automatic,
  title  = {The automatic solution of partial differential equations using a global spectral method},
  author = {Alex Townsend and Sheehan Olver},
  year   = {2014},
  eprint = {1409.2789},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1409.2789}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1409.2789.svg)](https://codeofpaper.com/paper/1409.2789)

Discussion