Abstract:
We numerically compare two methods for solving the periodic Poisson equation $-\Delta u = f$ on the two-dimensional torus $[0,1)^2$: the classical two-dimensional FFT on a uniform $N\times N$ grid, and A. V. Rodionov's algorithm on the parallelepipedal grid $M(a,p)$, which reduces the computation of Fourier coefficients of the solution to a one-dimensional DFT of length $p$ over the values of the right-hand side at the grid nodes. The comparison of methods is carried out on two model problems with smooth and piecewise-smooth right-hand sides.