NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast Poisson solvers for spectral methods

Daniel Fortunato, Alex TownsendIMA 2019

TL;DR

This paper introduces a new class of fast, spectrally accurate solvers for Poisson's equation on various geometries (square, cylinder, sphere, cube). These solvers achieve optimal computational complexity, significantly outperforming existing methods for spectral discretizations, and can solve problems with millions of degrees of freedom in minutes.

What Problem Does This Paper Address?

Poisson's equation is a fundamental problem in physics and engineering. While efficient solvers exist for finite difference and finite element methods, developing fast solvers for spectral methods has been a long-standing challenge. Spectral methods offer high accuracy but often lead to dense, ill-conditioned matrices that are computationally expensive to solve. Existing fast solvers for spectral methods are either not truly optimal in terms of complexity or are numerically unstable. This paper aims to bridge this gap by developing spectrally accurate solvers with optimal computational complexity for a range of common geometries.

Methods

The core of the paper's contribution lies in adapting the Alternating Direction Implicit (ADI) method, traditionally used for finite difference discretizations, to spectral methods. The authors achieve this by carefully constructing spectral discretizations of Poisson's equation on different domains (square, cylinder, sphere, cube) that result in Sylvester matrix equations with specific properties (normal matrices with separated spectra). These properties allow for efficient ADI iterations.

Key techniques include:

  • Ultraspherical Polynomials: For the square domain, the authors use ultraspherical polynomials to discretize the equation, leading to a Sylvester matrix equation that satisfies the conditions for efficient ADI.
  • Double Fourier Sphere (DFS) Method: For cylindrical and spherical geometries, the DFS method is employed to transform the problem into a set of independent bivariate problems, which are then solved using ADI.
  • Partial Regularity: To handle singularities that arise in spectral methods on curved domains, the authors impose "partial regularity" conditions on the solution, which simplifies the problem without sacrificing accuracy.
  • Nested ADI: For the cube, a more complex geometry, the authors extend the ADI method by nesting it to handle the three-dimensional problem efficiently.

Datasets

Not discussed in the paper. The paper focuses on developing algorithms for solving PDEs, and the "datasets" are generated by discretizing the PDE on various grids and geometries.

Key Insights and Ideas

  • ADI's Adaptability: The ADI method, when applied to carefully constructed spectral discretizations, can achieve optimal complexity, a feat that has been elusive for spectral methods.
  • Geometry-Specific Discretizations are Crucial: The success of the ADI method hinges on the specific properties of the discretized matrices. The authors show how to tailor these discretizations for different geometries (square, cylinder, sphere, cube) to ensure these properties hold.
  • Partial Regularity as a Practical Tool: Imposing partial regularity, rather than full regularity, is a clever way to manage the complexity of spectral methods on curved domains and avoid issues with high-order monomial powers.
  • Separated Spectra is Key: The core mathematical insight is that by designing the spectral discretizations appropriately, the resulting matrices have eigenvalues that are well-separated, which is a critical requirement for the ADI method's efficiency and convergence.

Key Results

  • Optimal Complexity Solvers: The paper presents spectrally accurate solvers with optimal complexity (up to polylogarithmic factors) for Poisson's equation on squares, cylinders, solid spheres, and cubes.
  • Significant Speedup: For a square domain with 100 million degrees of freedom, the solver can achieve a solution in under two minutes on a standard laptop, a dramatic improvement over traditional methods.
  • Flexibility in Error Tolerance: The ADI method allows for the specification of an error tolerance, enabling a trade-off between accuracy and computational cost.
  • Generalization to Non-trivial Boundary Conditions: The methods are extended to handle nonhomogeneous Dirichlet, Neumann, and Robin boundary conditions.

Limitations and Future Work

  • Algorithmic Constants for the Cube: While the solver for the cube achieves optimal complexity, the authors note that it is "far from a practical algorithm" due to large algorithmic constants arising from the nested ADI iterations requiring high precision.
  • Theoretical Justification for Neumann/Robin: For Neumann and Robin boundary conditions, the authors observe that eigenvalues lie within disjoint intervals, similar to Dirichlet cases, but this is not theoretically justified.
  • Future Work: The paper suggests that the ADI-based approach can be extended to higher-order finite difference stencils and potentially other PDEs. The authors also mention the availability of their code for practical use.

Summary updated

BibTeX
@inproceedings{fortunato2019fast,
  author = {Daniel Fortunato and Alex Townsend},
  title = {{Fast Poisson solvers for spectral methods}},
  booktitle = {IMA},
  year = {2019},
  doi = {10.1093/imanum/drz034},
}

Loading related content...

Figure