Cabana::Grid enables computing fast Fourier transforms on grid data through an interface to the heFFTe library.
Cabana_Grid_FastFourierTransform.hpp
auto lhs = Cabana::Grid::createArray<double, memory_space>( "lhs", vector_layout ); Cabana::Grid::Experimental::FastFourierTransformParams params; auto fft = Cabana::Grid::Experimental::createHeffteFastFourierTransform< double, device_type>( *vector_layout, params ); fft->forward( *lhs, Cabana::Grid::Experimental::FFTScaleFull() ); fft->reverse( *lhs, Cabana::Grid::Experimental::FFTScaleNone() );
This is part of the Programming Guide series
There was an error while loading. Please reload this page.