|
HILA
|
#include <fft.h>
Public Member Functions | |
| template<typename T > | |
| void | collect_data (const Field< T > &f) |
| template<typename T > | |
| void | full_transform (const Field< T > &input, Field< T > &result, const CoordinateVector &directions) |
| Do the transform itself (fft or reflect only) | |
| void | gather_data () |
| send column data to nodes | |
| void | reflect () |
| void | reshuffle_data (Direction prev_dir) |
| template<typename T > | |
| void | save_result (Field< T > &f) |
| Inverse of the fft_collect_data: write fft'd data from receive_buf to field. | |
| void | scatter_data () |
| inverse of gather_data | |
| void | setup_direction (Direction _dir) |
| Initialize fft to Direction dir. | |
| void | transform () |
| transform does the actual fft. | |
Class to hold fft relevant variables - note: fft.cpp holds static info, which is not here
|
inline |
Separate reflect operation Reflect flips the coordinates so that negative direction becomes positive, and x=0 plane remains, r(x) <- f(L - x) - note that x == 0 layer is as before r(0) = f(0), r(1) = f(L-1), r(2) = f(L-2) ...
Definition at line 516 of file fft_gpu_transform.h.
| void hila_fft< cmplx_t >::transform |
transform does the actual fft.
Define hila_fft<>::transform() -functions and scatter() / gather() -functions for fftw
This is not a standalone header, it is meant to be #include'd from fft.h .
Definition at line 194 of file fft_gpu_transform.h.