This repository contains optimal complexity spectrally-accurate Poisson solvers on the rectangle, cylinder, solid sphere, and cube. The code accompanies the paper:
-  Daniel Fortunato and Alex Townsend, Fast Poisson solvers for spectral methods, arxiv:1710.11259, submitted, 2017.
To use the MATLAB code, first run
code/setup.m. The Poisson solvers are:
Examples can be found in the
code/tests directory. All figures in the paper can be generated by running