ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
 
Loading...
Searching...
No Matches
orb5x::FFTWrapper Class Reference

#include "fft_wrapper.hpp"

Static Public Member Functions

static void bspl2fft_2d (const Kokkos::View< Real ** > &bspl_data, Kokkos::View< Complex ** > &fft_data, int nchi, int nphi)
 
static void bspl2fft_3d (const Kokkos::View< Real *** > &bspl_data, Kokkos::View< Complex ** > &fft_data, int ns, int nchi, int nphi, int neq_f, const Kokkos::View< int *** > *filter=nullptr, const Kokkos::View< Real * > *fftminv=nullptr, const Kokkos::View< int ** > *mmin_f=nullptr, const Kokkos::View< int ** > *mmax_f=nullptr)
 
static std::size_t cached_plan_count_2d_backward ()
 
static std::size_t cached_plan_count_2d_forward ()
 
static void copy_complex_from_fftw (fftw_complex *fftw_data, const Kokkos::View< Complex ** > &kokkos_data, int neq_f, int nphi)
 
static void copy_complex_to_fftw (const Kokkos::View< Complex ** > &kokkos_data, fftw_complex *fftw_data, int neq_f, int nphi)
 
static void copy_from_fftw (fftw_complex *fftw_data, const Kokkos::View< Real *** > &kokkos_data, int ns, int nchi, int nphi)
 
static void copy_to_fftw (const Kokkos::View< Real *** > &kokkos_data, fftw_complex *fftw_data, int ns, int nchi, int nphi)
 
static void destroy_plan (fftw_plan plan)
 
static void execute_backward (fftw_plan plan)
 
static void execute_forward (fftw_plan plan)
 
static void fft2bspl_2d (const Kokkos::View< Complex ** > &fft_data, Kokkos::View< Real ** > &bspl_data, int nchi, int nphi)
 
static void fft2bspl_3d (const Kokkos::View< Complex ** > &fft_data, Kokkos::View< Real *** > &bspl_data, int ns, int nchi, int nphi, int neq_f, const Kokkos::View< int ** > *mmin_f=nullptr, const Kokkos::View< int ** > *mmax_f=nullptr, bool reconstruct_hermitian_toroidal=false, const char *trace_tag=nullptr)
 
static void init_1d_backward (int n, fftw_plan &plan_backward, fftw_complex *in, fftw_complex *out)
 
static void init_1d_forward (int n, fftw_plan &plan_forward, fftw_complex *in, fftw_complex *out)
 
static void init_2d_backward (int nchi, int nphi, fftw_plan &plan_backward, fftw_complex *in, fftw_complex *out)
 
static void init_2d_forward (int nchi, int nphi, fftw_plan &plan_forward, fftw_complex *in, fftw_complex *out)
 

Member Function Documentation

◆ bspl2fft_2d()

static void orb5x::FFTWrapper::bspl2fft_2d ( const Kokkos::View< Real ** > &  bspl_data,
Kokkos::View< Complex ** > &  fft_data,
int  nchi,
int  nphi 
)
static

Referenced by orb5x::bspl2fft_2d().

◆ bspl2fft_3d()

static void orb5x::FFTWrapper::bspl2fft_3d ( const Kokkos::View< Real *** > &  bspl_data,
Kokkos::View< Complex ** > &  fft_data,
int  ns,
int  nchi,
int  nphi,
int  neq_f,
const Kokkos::View< int *** > *  filter = nullptr,
const Kokkos::View< Real * > *  fftminv = nullptr,
const Kokkos::View< int ** > *  mmin_f = nullptr,
const Kokkos::View< int ** > *  mmax_f = nullptr 
)
static

Referenced by orb5x::bspl2fft_3d().

◆ cached_plan_count_2d_backward()

static std::size_t orb5x::FFTWrapper::cached_plan_count_2d_backward ( )
static

◆ cached_plan_count_2d_forward()

static std::size_t orb5x::FFTWrapper::cached_plan_count_2d_forward ( )
static

◆ copy_complex_from_fftw()

static void orb5x::FFTWrapper::copy_complex_from_fftw ( fftw_complex *  fftw_data,
const Kokkos::View< Complex ** > &  kokkos_data,
int  neq_f,
int  nphi 
)
static

◆ copy_complex_to_fftw()

static void orb5x::FFTWrapper::copy_complex_to_fftw ( const Kokkos::View< Complex ** > &  kokkos_data,
fftw_complex *  fftw_data,
int  neq_f,
int  nphi 
)
static

◆ copy_from_fftw()

static void orb5x::FFTWrapper::copy_from_fftw ( fftw_complex *  fftw_data,
const Kokkos::View< Real *** > &  kokkos_data,
int  ns,
int  nchi,
int  nphi 
)
static

◆ copy_to_fftw()

static void orb5x::FFTWrapper::copy_to_fftw ( const Kokkos::View< Real *** > &  kokkos_data,
fftw_complex *  fftw_data,
int  ns,
int  nchi,
int  nphi 
)
static

◆ destroy_plan()

static void orb5x::FFTWrapper::destroy_plan ( fftw_plan  plan)
static

Referenced by orb5x::destroy_plan().

◆ execute_backward()

static void orb5x::FFTWrapper::execute_backward ( fftw_plan  plan)
static

Referenced by orb5x::execute_backward().

◆ execute_forward()

static void orb5x::FFTWrapper::execute_forward ( fftw_plan  plan)
static

Referenced by orb5x::execute_forward().

◆ fft2bspl_2d()

static void orb5x::FFTWrapper::fft2bspl_2d ( const Kokkos::View< Complex ** > &  fft_data,
Kokkos::View< Real ** > &  bspl_data,
int  nchi,
int  nphi 
)
static

Referenced by orb5x::fft2bspl_2d().

◆ fft2bspl_3d()

static void orb5x::FFTWrapper::fft2bspl_3d ( const Kokkos::View< Complex ** > &  fft_data,
Kokkos::View< Real *** > &  bspl_data,
int  ns,
int  nchi,
int  nphi,
int  neq_f,
const Kokkos::View< int ** > *  mmin_f = nullptr,
const Kokkos::View< int ** > *  mmax_f = nullptr,
bool  reconstruct_hermitian_toroidal = false,
const char *  trace_tag = nullptr 
)
static

Referenced by orb5x::fft2bspl_3d().

◆ init_1d_backward()

static void orb5x::FFTWrapper::init_1d_backward ( int  n,
fftw_plan &  plan_backward,
fftw_complex *  in,
fftw_complex *  out 
)
static

Referenced by orb5x::init_1d_backward().

◆ init_1d_forward()

static void orb5x::FFTWrapper::init_1d_forward ( int  n,
fftw_plan &  plan_forward,
fftw_complex *  in,
fftw_complex *  out 
)
static

Referenced by orb5x::init_1d_forward().

◆ init_2d_backward()

static void orb5x::FFTWrapper::init_2d_backward ( int  nchi,
int  nphi,
fftw_plan &  plan_backward,
fftw_complex *  in,
fftw_complex *  out 
)
static

Referenced by orb5x::init_2d_backward().

◆ init_2d_forward()

static void orb5x::FFTWrapper::init_2d_forward ( int  nchi,
int  nphi,
fftw_plan &  plan_forward,
fftw_complex *  in,
fftw_complex *  out 
)
static

Referenced by orb5x::init_2d_forward().


The documentation for this class was generated from the following file: