BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Workspace for Fourier Transform.
Workspace contains input (src), intermediate and output (out) arrays to run FT via fft; 'source' is our signal Output arrays are allocated via fftw3 allocation for maximum performance.
Definition at line 70 of file FourierTransform.h.
Public Member Functions | |
Workspace ()=default | |
~Workspace () | |
void | clear () |
Private Attributes | |
int | h_fftw {0} |
int | h_src {0} |
Here, h = height (# rows), w = width (# columns) More... | |
double * | in_src {nullptr} |
double * | out_fftw {nullptr} |
result of Fourier transformation of source More... | |
fftw_plan | p_forw_src {nullptr} |
int | w_fftw {0} |
int | w_src {0} |
Friends | |
class | FourierTransform |
|
default |
FourierTransform::Workspace::~Workspace | ( | ) |
Definition at line 22 of file FourierTransform.cpp.
References clear().
void FourierTransform::Workspace::clear | ( | ) |
Definition at line 27 of file FourierTransform.cpp.
Referenced by ~Workspace(), and FourierTransform::init().
|
friend |
Definition at line 75 of file FourierTransform.h.
|
private |
Definition at line 80 of file FourierTransform.h.
Referenced by FourierTransform::fft(), FourierTransform::fftshift(), FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
Here, h = height (# rows), w = width (# columns)
Definition at line 79 of file FourierTransform.h.
Referenced by FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
Definition at line 82 of file FourierTransform.h.
Referenced by FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
result of Fourier transformation of source
Definition at line 85 of file FourierTransform.h.
Referenced by FourierTransform::fft(), FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
Definition at line 87 of file FourierTransform.h.
Referenced by FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
Definition at line 80 of file FourierTransform.h.
Referenced by FourierTransform::fft(), FourierTransform::fftw_forward_FT(), and FourierTransform::init().
|
private |
Definition at line 79 of file FourierTransform.h.
Referenced by FourierTransform::fftw_forward_FT(), and FourierTransform::init().