A semi-analytical Fourier spectral method for the Swift–Hohenberg equation. (15th October 2017)