BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
Workspace () | |
~Workspace () | |
void | clear () |
Private Attributes | |
int | h_src |
int | w_src |
int | h_fftw |
int | w_fftw |
double * | in_src |
double * | out_fftw |
fftw_plan | p_forw_src |
Friends | |
class | FourierTransform |
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 69 of file FourierTransform.h.
FourierTransform::Workspace::Workspace | ( | ) |
Definition at line 26 of file FourierTransform.cpp.
FourierTransform::Workspace::~Workspace | ( | ) |
Definition at line 31 of file FourierTransform.cpp.
void FourierTransform::Workspace::clear | ( | ) |
|
friend |
Definition at line 75 of file FourierTransform.h.
|
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 79 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::fftshift(), 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 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().