A Sparse Spectral Method on Triangles

Sheehan Olver, Alex Townsend, Geoffrey M. VasilSIAM J. Sci. Comput 2019 · DOI

Spectral methods are widely regarded as the "gold standard" for solving partial differential equations (PDEs) due to their ability to achieve machine-level accuracy with minimal memory requirements. By representing solutions as expansions of smooth polynomials, these methods offer exponential convergence. However, their application has historically been limited by a significant computational bottleneck: on non-rectangular domains, such as triangles, the resulting discretization matrices are typically dense. This leads to a computational cost that scales as $O(N^3)$, where $N$ is the number of degrees of freedom, making large-scale simulations prohibitively expensive.

A recent breakthrough addresses this limitation by introducing a sparse spectral method specifically designed for triangular domains. By leveraging a hierarchy of bivariate orthogonal polynomials, researchers can now solve complex linear PDEs with millions of degrees of freedom at $O(N^2)$ complexity.

The Shifting Strategy: Achieving Sparsity

The core innovation of this method lies in its "shifting" strategy, which is an extension of the 1D ultraspherical method to two dimensions. Instead of using a single fixed basis, the method utilizes a family of bivariate Jacobi polynomials defined on the unit simplex.

When a differential operator is applied to a function represented in one basis, the result is expressed in a different basis within the same family. Specifically, differentiation increments the parameters of the Jacobi polynomials. By carefully managing these transitions, the researchers ensure that the operators remain banded, resulting in sparse matrices.

The shifting strategy visualizes differentiation as a move between levels in a hierarchy of polynomial bases.

This operator-valued logic allows for the construction of complex differential operators, such as the Laplacian, by simply multiplying small, sparse matrices. Because any triangle can be mapped to the unit simplex via an affine transformation, this approach is universally applicable to any triangular geometry.

Specialized Bases and Boundary Conditions

Handling boundary conditions on a triangle without destroying sparsity is a non-trivial task. The researchers introduced a specialized "Dirichlet basis," denoted as $Q_{n,k}$, which is designed to vanish on the edges of the triangle. This basis allows for the seamless integration of boundary data while maintaining the banded structure of the internal physics. Furthermore, the method employs a bivariate version of the Clenshaw algorithm, enabling the rapid evaluation of polynomial expansions in $O(N^2)$ time.

To address potential singularities at the corners of the triangle—where boundary conditions might conflict—the framework incorporates an adaptation of the Lanczos $\tau$-method. This ensures numerical stability and preserves high-order accuracy even in challenging geometric configurations.

Numerical Benchmarks

The effectiveness of the sparse spectral method was evaluated across several benchmark linear PDEs, ranging from standard diffusion problems to high-order elasticity equations.

The method was tested on a variety of linear PDEs, including the Biharmonic, Transport, and Variable Coefficient Helmholtz equations.

Key results from these tests include:

  • Optimal Complexity: Discretization matrix construction scales as $O(N^2)$, the theoretical optimum for 2D problems.
  • Spectral Accuracy: For smooth solutions, the method achieves errors as low as $3 \times 10^{-16}$, reaching the limits of double-precision arithmetic.
  • High-Order Robustness: The method maintains its efficiency and sparsity even for fourth-order problems like the Biharmonic equation, which are traditionally difficult for standard finite element or finite difference methods.

Future Directions

While the current framework is highly effective for linear PDEs on triangles, several avenues for future research remain. The authors have provided theoretical foundations for extending the method to 3D tetrahedra, though a full implementation is still pending. Additionally, as problem sizes exceed several million unknowns, the development of robust preconditioners for iterative solvers will be necessary to overcome the memory limits of direct sparse solvers. Finally, integrating these sparse operators into iterative schemes for non-linear problems, such as the Navier-Stokes equations, represents a significant next step for the field.

Summary updated

BibTeX
@article{olver2019sparse,
  author = {Sheehan Olver and Alex Townsend and Geoffrey M. Vasil},
  title = {{A Sparse Spectral Method on Triangles}},
  journal = {SIAM J. Sci. Comput.},
  year = {2019},
  doi = {10.1137/19m1245888},
}
Figure