This directory contains files related to the use of Fast Fourier Transforms within Nektar++. The files are as follows:
NektarFFT.h/NektarFFT.cpp: Fast Fourier Transform abstract base class.
NekFFTW.h/NekFFTW.cpp: Wrapper around the FFTW library (enabled by default
when FFTW is found).
NekCuFFT.h/NekCuFFT.cu: cuFFT-backed
implementation used when NEKTAR_ENABLE_DEVICE=CUDA. Supports batched
D2Z/Z2D transforms, wavenumber multiplication, and optional CUDA graph
capture. Enable NEKTAR_USE_CUFFT_STATIC to link cuFFT statically and unlock
store-callback support.
PhysDerivZCuFFT.h/PhysDerivZCuFFT.cu:
Standalone device z-derivative pipeline (D2Z + wavenumber multiply + Z2D) used
by the DeviceSpace specialisation of PhysDerivZOp. The header declares the single
entry point PhysDerivZDirect; the stages run as cuFFT calls by default, or fused
into one cuFFTDx kernel when NEKTAR_USE_CUFFTDX is enabled. Both double and
single precision are supported either way.