ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
FFTW_API Class Reference

#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 ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FFTW_API()

FFTW_API::FFTW_API ( int  nx,
int  ny 
)
inline

Constructor, give ny=1 to perform 1d FFT

Parameters
intnx
intny

The documentation for this class was generated from the following file: