|
IPPL API Reference
Independent Parallel Particle Layer C++ API
|
#include <FFT.h>
Inheritance diagram for ippl::FFT< Cos1Transform, Field >:
Collaboration diagram for ippl::FFT< Cos1Transform, Field >:Public Member Functions | |
| void | warmup (Field &f) |
| void | transform (TransformDirection direction, Field &f) |
Cosine type 1 transform class
| void ippl::FFT< Cos1Transform, Field >::transform | ( | TransformDirection | direction, |
| Field & | f | ||
| ) |
Perform in-place FFT
| direction | Forward or backward transformation |
| f | Field whose transformation to compute (and overwrite) |
This rescaling is needed to match the normalization constant between fftw and the other gpu interfaces. fftw rescales with an extra factor of 8.
This copy to a temporary Kokkos view is needed because of following reasons: 1) heffte wants the input and output fields without ghost layers 2) heffte accepts data in layout left (by default) eventhough this can be changed during heffte box creation
This rescaling is needed to match the normalization constant between fftw and the other gpu interfaces. fftw rescales with an extra factor of 8.
| void ippl::FFT< Cos1Transform, Field >::warmup | ( | Field & | f | ) |