Is there a way of calculating the Fourier Transform of a function in Fenics? I would convert the function into a numpy array, and perform the FFT, and then interpolate it back into my original function space. Is that a reasonable way of doing it, or are there better ways?
1 Like