#include "plumbing/defs.h"
#include "datatypes/cmplx.h"
#include "plumbing/coordinates.h"
#include "plumbing/field.h"
#include "plumbing/timing.h"
#include "plumbing/backend_gpu/fft_gpu_transform.h"
Go to the source code of this file.
|
namespace | hila |
| Implement hila::swap for gauge fields.
|
|
◆ FFT_field() [1/2]
Complex-to-complex FFT transform of a field input, result in result. input and result can be same, "in-place". Both input and output are of type Field<T>, where T must contain complex type, Complex<float> or Complex<double>. directions: if directions[dir] == false (or 0), transform is not done to direction dir. fftdir: direction of the transform itself: fft_direction::forward (default) x -> k fft_direction::inverse k-> x FFT is unnormalized: transform + inverse transform yields source multiplied by the product of the size of the lattice to active directions If all directions are active, result = source * lattice.volume():
Definition at line 381 of file fft.h.
◆ FFT_field() [2/2]
Complex-to-complex FFT transform of a field input, result in result. Same as FFT_field(input,result,directions,fftdir) with all directions active.
Definition at line 410 of file fft.h.
◆ init_pencil_direction()
Initialize fft direction - defined in fft.cpp.
Initialize fft direction - defined in fft.cpp.
Definition at line 60 of file fft.cpp.
◆ pencil_get_buffer_offsets()
Build offsets to buffer arrays: Fastest Direction = dir, offset 1 next fastest index of complex_t elements in T, offset elem_offset and then other directions, in order Returns element_offset and sets offset and nmin vectors
Definition at line 38 of file fft.cpp.