Simple 1d local solver using fftw