Skip to content

Class TempLat::FFTPlanInterface

template <typename T, size_t NDim>

ClassList > TempLat > FFTPlanInterface

Yes, for once a nested class. The interface for your to-be-implemented FFT plan, but forward and backward. Complex-to-real and real-to-complex. More...

  • #include <fftlibraryinterface.h>

Inherited by the following classes: TempLat::FFTWPlanHolder, TempLat::KokkosFFTPlanHolder, TempLat::ParafaftPlanHolder

Public Functions

Type Name
virtual void c2r (MemoryBlock< T, NDim > & mBlock) = 0
virtual void r2c (MemoryBlock< T, NDim > & mBlock) = 0
virtual ~FFTPlanInterface () = default

Detailed Description

Your implementation of FFTPlanInterface must take care of freeing the plan(s) upon destruction. So you should use shared_ptr's!

Public Functions Documentation

function c2r

virtual void TempLat::FFTPlanInterface::c2r (
    MemoryBlock < T, NDim > & mBlock
) = 0

function r2c

virtual void TempLat::FFTPlanInterface::r2c (
    MemoryBlock < T, NDim > & mBlock
) = 0

function ~FFTPlanInterface

virtual TempLat::FFTPlanInterface::~FFTPlanInterface () = default


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/fft/fftlibraryinterface.h