[petsc-users] 1d FFT of 2D vector (using fftw for preference)

Frederik Treue frtr at fysik.dtu.dk
Fri Jun 28 07:52:05 CDT 2013


Hi,

is there a simple way to perform a fourier transform of a 2D vector in
only one dimension? Ie. transform the function f(x,y) in realspace (x,y)
to f(k_x,y) in k space in the x direction and realspace in the y
direction? I'd like to use FFTW for preference, since that is
implemented on the cluster that I'm working with.

/Frederik Treue



More information about the petsc-users mailing list