[petsc-users] 1d FFT of 2D vector (using fftw for preference)
Matthew Knepley
knepley at gmail.com
Fri Jun 28 07:56:35 CDT 2013
On Fri, Jun 28, 2013 at 7:52 AM, Frederik Treue <frtr at fysik.dtu.dk> wrote:
> 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.
I do not know of one other than repeated calls to the 1D transform. If you
can find
it in the FFTW API when could put it in.
Thanks,
Matt
>
> /Frederik Treue
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130628/02eadf8c/attachment-0001.html>
More information about the petsc-users
mailing list