CppNoddy  0.92
Loading...
Searching...
No Matches
Namespaces | Functions
FT.h File Reference

A spec for a collection of Fourier methods that act on Noddy containers. More...

#include <OneD_Node_Mesh.h>
#include <TwoD_Node_Mesh.h>
#include <Types.h>

Go to the source code of this file.

Namespaces

namespace  CppNoddy
 A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics.
 
namespace  CppNoddy::FT
 Some algorithms associated with Fourier transforms of CppNoddy container data.
 

Functions

OneD_Node_Mesh< D_complex > CppNoddy::FT::shift (const OneD_Node_Mesh< D_complex > &ft)
 Shift the frequency spectrum obtained from dft to give positive and negative freq. More...
 
OneD_Node_Mesh< D_complex > CppNoddy::FT::ishift (const OneD_Node_Mesh< D_complex > &ft)
 Invert the shif operation to recover a spectrum in the form that is expected by the idft routine. More...
 
OneD_Node_Mesh< D_complex > CppNoddy::FT::dft_with_shift (const OneD_Node_Mesh< D_complex > &f)
 A wrapper that calls the 'dft' method above followed by the 'shift' method. More...
 
TwoD_Node_Mesh< D_complex > CppNoddy::FT::dft_with_shift (const TwoD_Node_Mesh< D_complex > &f)
 
OneD_Node_Mesh< D_complex > CppNoddy::FT::idft_with_ishift (const OneD_Node_Mesh< D_complex > &ft, double origin=0)
 A wrapper that calls the 'ishift' method above followed by the 'idft' method. More...
 
TwoD_Node_Mesh< D_complex > CppNoddy::FT::idft_with_ishift (const TwoD_Node_Mesh< D_complex > &ft, double origin=0)
 
OneD_Node_Mesh< D_complex > CppNoddy::FT::dft (const OneD_Node_Mesh< D_complex > &f)
 (Slow) DFT of the real data (x_i,f_i), i = 0, ... N-1; N must be EVEN. More...
 
OneD_Node_Mesh< D_complex > CppNoddy::FT::idft (const OneD_Node_Mesh< D_complex > &ft, double origin=0)
 (Slow) Inverse DFT of the complex data (omega_i,F_i), i = 0,...,N-1; N must be EVEN. More...
 

Detailed Description

A spec for a collection of Fourier methods that act on Noddy containers.

Definition in file FT.h.

© 2012

R.E. Hewitt