CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Any one uses ESSL FFT package?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2013, 13:38
Default Any one uses ESSL FFT package?
  #1
Member
 
Join Date: Feb 2011
Posts: 41
Rep Power: 15
jollage is on a distinguished road
Hi

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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 16:50
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 15: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 20:30


All times are GMT -4. The time now is 19:42.