The ultraspherical spectral element method

Daniel Fortunato, Nicholas Hale, Alex Townsend · DOI

Abstract

High-order numerical solvers for partial differential equations (PDEs) often face a "density barrier" where increasing polynomial degrees leads to computationally expensive dense matrices. This paper introduces a novel spectral element method (SEM) that combines the ultraspherical spectral method with a hierarchical Poincaré–Steklov (HPS) scheme. By utilizing sparse polynomial bases, the proposed method maintains efficiency at high polynomial orders ($p > 5$), enabling fast, high-accuracy $hp$-adaptivity on complex geometries.

Introduction

Numerical solvers for PDEs generally rely on two types of refinement: $h$-refinement (mesh density) and $p$-refinement (polynomial degree). Combining both, known as $hp$-adaptivity, is the gold standard for achieving exponential convergence, particularly for solutions with singularities. However, traditional high-order methods struggle as the polynomial degree $p$ increases. In 2D, direct solver complexity typically scales as $O(p^6)$, making high-order approximations prohibitively expensive. The authors aim to break this scaling bottleneck to make high-order solvers practical for unstructured meshes.

Methods: Sparsity and Hierarchy

The core innovation lies in merging two distinct numerical frameworks to preserve sparsity across the solver pipeline.

The Ultraspherical Spectral Method

Unlike standard spectral methods that utilize Chebyshev points and result in dense differentiation matrices, this method employs a specific sequence of ultraspherical (Gegenbauer) polynomial bases. This choice ensures that differentiation and coordinate conversion operators remain banded and sparse.

Comparison of discretization matrices: The domain (left), the dense matrix from standard methods (middle), and the sparse matrix produced by the ultraspherical method (right).

Hierarchical Poincaré–Steklov (HPS) Scheme

The domain is partitioned into a hierarchy (typically a quadtree). The solver computes local "solution operators" and Dirichlet-to-Neumann (DtN) maps for each element, which are then merged hierarchically. This "divide and conquer" strategy allows for efficient global solving.

Sparsity-Preserving Mappings

To handle non-rectangular elements like quadrilaterals and triangles, the authors use coordinate transformations. By scaling the transformed PDE by the determinant of the Jacobian, they ensure that variable coefficients remain polynomials, preserving the sparsity of the ultraspherical discretization even on complex geometries.

Key Results and Performance

The resulting implementation, an open-source MATLAB suite called ultraSEM, demonstrates significant performance gains:

  • Computational Complexity: The method achieves an overall complexity of approximately $O(Np^2 + N^{3/2})$, where $N$ is the total degrees of freedom. This is a substantial improvement over the $O(p^6)$ scaling of naive methods.
  • Speedup in Time-Stepping: Because the HPS scheme builds the global solver from local maps, precomputed operators can be reused if only the boundary conditions or right-hand side change. In convection-diffusion simulations, this led to a 10x speedup (6 seconds vs. 60 seconds).
  • Complex Geometries: The solver successfully handled a "snowflake" domain with approximately 333,000 degrees of freedom in roughly 75 seconds on a standard workstation.
  • Convergence: On classic benchmarks like the L-shaped domain, the $hp$-adaptive strategy showed the expected exponential decay of error relative to the number of degrees of freedom.

Conclusion and Future Work

The ultraspherical spectral element method effectively breaks the density barrier for high-order PDE solvers in 2D. While currently limited to 2D and implemented in MATLAB, the authors suggest that the sparse method could reduce 3D complexity from $O(p^9)$ to $O(p^7)$ or $O(p^6)$. Future developments focusing on 3D implementation and parallelization in compiled languages like C++ could make this approach a standard for large-scale industrial applications.

Summary updated

BibTeX
@article{fortunato2020ultraspherical,
  author = {Daniel Fortunato and Nicholas Hale and Alex Townsend},
  title = {{The ultraspherical spectral element method}},
  journal = {Journal of Computational Physics},
  year = {2020},
  doi = {10.1016/j.jcp.2020.110087},
}
Figure