Hipace
Classes | Namespaces | Typedefs | Enumerations | Functions
AnyFFT.H File Reference
#include <AMReX_Config.H>
#include <fftw3.h>
#include <AMReX_LayoutData.H>

Go to the source code of this file.

Classes

struct  AnyFFT::FFTplan
 This struct contains the vendor FFT plan and additional metadata. More...
 

Namespaces

 AnyFFT
 Wrapper around multiple FFT libraries.
 

Typedefs

using AnyFFT::Complex = fftw_complex
 
using AnyFFT::VendorFFTPlan = fftw_plan
 
using AnyFFT::FFTplans = amrex::LayoutData< FFTplan >
 

Enumerations

enum class  AnyFFT::direction { AnyFFT::R2C , AnyFFT::C2R }
 

Functions

FFTplan AnyFFT::CreatePlan (const amrex::IntVect &real_size, amrex::Real *const real_array, Complex *const complex_array, const direction dir)
 create FFT plan for the backend FFT library. More...
 
void AnyFFT::DestroyPlan (FFTplan &fft_plan)
 Destroy library FFT plan. More...
 
void AnyFFT::Execute (FFTplan &fft_plan)
 Perform FFT with backend library. More...