An adaptive pseudo-spectral method for reaction diffusion problems