ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <FFTW_API.h>
Public Member Functions | |
FFTW_API (int nx, int ny) | |
~FFTW_API () | |
destructor, clean plans and frees allocated memory | |
fftw_complex * | getIn_Forward () |
fftw_complex * | getIn_Backward () |
fftw_complex * | FFTAndGetOutput_Forward () |
fftw_complex * | FFTAndGetOutput_Backward () |
Basic API to perform 2d FFT and IFFT using the fftw lib
Can perform 1d FFT Uses double or single precision depending on FFTSettings_preprocessor
getIn_Forward() to get the input matrices to fill with the value FFTAndGetOutput_Forward() to perform the FFT and get the output Backward for IFFT
|
inline |
Constructor, give ny=1 to perform 1d FFT
int | nx |
int | ny |