PFASST++
pfasst::examples::advection_diffusion::FFT Class Reference

FFT helper class. More...

#include <fft.hpp>

+ Collaboration diagram for pfasst::examples::advection_diffusion::FFT:

Classes

struct  workspace
 

Public Member Functions

 ~FFT ()
 
shared_ptr< workspaceget_workspace (size_t ndofs)
 
complex< double > * forward (const DVectorT &x)
 
void backward (DVectorT &x)
 

Private Attributes

map< size_t, shared_ptr< workspace > > workspaces
 

Detailed Description

FFT helper class.

Warning
Side affects galore! This is not my best work ...

Definition at line 32 of file fft.hpp.

Constructor & Destructor Documentation

pfasst::examples::advection_diffusion::FFT::~FFT ( )
inline

Definition at line 44 of file fft.hpp.

Member Function Documentation

void pfasst::examples::advection_diffusion::FFT::backward ( DVectorT x)
inline

Definition at line 79 of file fft.hpp.

References get_workspace().

Referenced by pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::f_expl_eval(), pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::f_impl_eval(), pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::impl_solve(), and pfasst::examples::advection_diffusion::SpectralTransfer1D< time >::interpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

complex<double>* pfasst::examples::advection_diffusion::FFT::forward ( const DVectorT x)
inline

Definition at line 69 of file fft.hpp.

References get_workspace().

Referenced by pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::f_expl_eval(), pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::f_impl_eval(), pfasst::examples::advection_diffusion::AdvectionDiffusionSweeper< time >::impl_solve(), and pfasst::examples::advection_diffusion::SpectralTransfer1D< time >::interpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

shared_ptr<workspace> pfasst::examples::advection_diffusion::FFT::get_workspace ( size_t  ndofs)
inline

Definition at line 55 of file fft.hpp.

Referenced by backward(), forward(), and pfasst::examples::advection_diffusion::SpectralTransfer1D< time >::interpolate().

+ Here is the caller graph for this function:

Member Data Documentation

map<size_t, shared_ptr<workspace> > pfasst::examples::advection_diffusion::FFT::workspaces
private

Definition at line 41 of file fft.hpp.


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