CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Any one uses ESSL FFT package?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 10, 2013, 14:38
Default Any one uses ESSL FFT package?
New Member
Join Date: Feb 2011
Posts: 29
Rep Power: 8
jollage is on a distinguished road

I have to read a code, in which it would call IBM's ESSL FFT functions, like DRCFT and DCRFT. Since I will run it on my laptop where I hope to do the fft with fftpack, so I have to rewrite the DRCFT etc.

Now one of my questions is
after calling DRCFT, how the outcome array is stored?

For example, I call the forward fourier transform
CALL DRCFT (init, x, inc2x, x, inc2y, n, m, 1, scale=1, aux1, naux1, aux2, naux2)

x is the would-to-be-ffted array (real), and the outcome, which should be a complex array, however, would still be stored in x.

Then if, for example, the input is
x=[1 0.707 0 -0.707 -1 -0.707 0 0.707]
What should be outcome x be? I know in the outcome x(1)=0 (which is the sum, since the scale is 1), but what is x(2)?

In Matlab, x(2) of the outcome should be the real part of the second mode, but I suspect in ESSL FFT, the x(2) is the imaginary part of the first mode?

Sorry for the text not being clear.
Thanks in advance for any comments.
jollage is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend Project 1.6-ext Binary Release for Mac OS X hjasak OpenFOAM Announcements from Other Sources 26 November 5, 2013 17:50
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 16:12
OpenFoam 1.6-ext - RPM build errors preibie OpenFOAM 12 September 8, 2011 03:12
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30

All times are GMT -4. The time now is 16:24.