ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
FFTBackend< FloatType > Class Template Referenceabstract

API for the legacy FFT backend of the P3M algorithm. More...

#include <data_struct.hpp>

Inheritance diagram for FFTBackend< FloatType >:
Collaboration diagram for FFTBackend< FloatType >:

Public Member Functions

 FFTBackend (P3MLocalMesh const &local_mesh)
virtual ~FFTBackend ()=default
virtual void init (P3MParameters const &params)=0
virtual int get_ca_mesh_size () const noexcept=0
virtual int get_ks_pnum () const noexcept=0
virtual void forward_fft (FloatType *rs_mesh)=0
 Carry out the forward FFT of the scalar mesh.
virtual void backward_fft (FloatType *rs_mesh)=0
 Carry out the backward FFT of the scalar mesh.
virtual std::array< int, 3u > const & get_mesh_size () const =0
virtual std::array< int, 3u > const & get_mesh_start () const =0

Protected Attributes

P3MLocalMesh const & local_mesh

Detailed Description

template<typename FloatType>
class FFTBackend< FloatType >

API for the legacy FFT backend of the P3M algorithm.

Definition at line 82 of file data_struct.hpp.

Constructor & Destructor Documentation

◆ FFTBackend()

template<typename FloatType>
FFTBackend< FloatType >::FFTBackend ( P3MLocalMesh const & local_mesh)
inlineexplicit

Definition at line 87 of file data_struct.hpp.

References local_mesh.

Referenced by FFTBackendLegacy< FloatType >::FFTBackendLegacy().

◆ ~FFTBackend()

template<typename FloatType>
virtual FFTBackend< FloatType >::~FFTBackend ( )
virtualdefault

Member Function Documentation

◆ backward_fft()

template<typename FloatType>
virtual void FFTBackend< FloatType >::backward_fft ( FloatType * rs_mesh)
pure virtual

Carry out the backward FFT of the scalar mesh.

Implemented in FFTBackendLegacy< FloatType >.

References backward_fft().

Referenced by backward_fft().

◆ forward_fft()

template<typename FloatType>
virtual void FFTBackend< FloatType >::forward_fft ( FloatType * rs_mesh)
pure virtual

Carry out the forward FFT of the scalar mesh.

Implemented in FFTBackendLegacy< FloatType >.

References forward_fft().

Referenced by forward_fft().

◆ get_ca_mesh_size()

template<typename FloatType>
virtual int FFTBackend< FloatType >::get_ca_mesh_size ( ) const
pure virtualnoexcept

◆ get_ks_pnum()

template<typename FloatType>
virtual int FFTBackend< FloatType >::get_ks_pnum ( ) const
pure virtualnoexcept

Implemented in FFTBackendLegacy< FloatType >.

References get_ks_pnum().

Referenced by get_ks_pnum().

◆ get_mesh_size()

template<typename FloatType>
virtual std::array< int, 3u > const & FFTBackend< FloatType >::get_mesh_size ( ) const
pure virtual

Implemented in FFTBackendLegacy< FloatType >.

References get_mesh_size().

Referenced by get_mesh_size().

◆ get_mesh_start()

template<typename FloatType>
virtual std::array< int, 3u > const & FFTBackend< FloatType >::get_mesh_start ( ) const
pure virtual

Implemented in FFTBackendLegacy< FloatType >.

References get_mesh_start().

Referenced by get_mesh_start().

◆ init()

template<typename FloatType>
virtual void FFTBackend< FloatType >::init ( P3MParameters const & params)
pure virtual

Member Data Documentation

◆ local_mesh

template<typename FloatType>
P3MLocalMesh const& FFTBackend< FloatType >::local_mesh
protected

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