FEDEM Solver  R8.0
Source code of the dynamics solver
Static Public Member Functions | Static Private Member Functions | List of all members
FFpFourier Class Reference

#include <FFpFourier.H>

Static Public Member Functions

static bool FFT (const std::vector< double > &xRe, const std::vector< double > &xIm, std::vector< double > &yRe, std::vector< double > &yIm)
 
static int getMaxPrimeFactor ()
 

Static Private Member Functions

static bool transTableSetup (int *sofar, int *actual, int *remain, int &nFact, int nPoints)
 
static void factorize (int n, int &nFact, int *fact)
 
static void permute (int nFact, int *fact, int *remain, const std::vector< double > &xRe, const std::vector< double > &xIm, std::vector< double > &yRe, std::vector< double > &yIm)
 
static void twiddleTransf (int sofarRadix, int radix, int remainRadix, std::vector< double > &yRe, std::vector< double > &yIm)
 
static void initTrig (int radix)
 
static void fft_4 (double *aRe, double *aIm)
 
static void fft_5 (double *aRe, double *aIm)
 
static void fft_8 ()
 
static void fft_10 ()
 
static void fft_odd (int radix)
 

Member Function Documentation

◆ factorize()

void FFpFourier::factorize ( int  n,
int &  nFact,
int *  fact 
)
staticprivate

◆ FFT()

bool FFpFourier::FFT ( const std::vector< double > &  xRe,
const std::vector< double > &  xIm,
std::vector< double > &  yRe,
std::vector< double > &  yIm 
)
static

◆ fft_10()

void FFpFourier::fft_10 ( )
staticprivate

◆ fft_4()

void FFpFourier::fft_4 ( double *  aRe,
double *  aIm 
)
staticprivate

◆ fft_5()

void FFpFourier::fft_5 ( double *  aRe,
double *  aIm 
)
staticprivate

◆ fft_8()

void FFpFourier::fft_8 ( )
staticprivate

◆ fft_odd()

void FFpFourier::fft_odd ( int  radix)
staticprivate

◆ getMaxPrimeFactor()

int FFpFourier::getMaxPrimeFactor ( )
static

◆ initTrig()

void FFpFourier::initTrig ( int  radix)
staticprivate

◆ permute()

void FFpFourier::permute ( int  nFact,
int *  fact,
int *  remain,
const std::vector< double > &  xRe,
const std::vector< double > &  xIm,
std::vector< double > &  yRe,
std::vector< double > &  yIm 
)
staticprivate

◆ transTableSetup()

bool FFpFourier::transTableSetup ( int *  sofar,
int *  actual,
int *  remain,
int &  nFact,
int  nPoints 
)
staticprivate

◆ twiddleTransf()

void FFpFourier::twiddleTransf ( int  sofarRadix,
int  radix,
int  remainRadix,
std::vector< double > &  yRe,
std::vector< double > &  yIm 
)
staticprivate

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