Discrete Fourier Transform. More...
#include <AMReX_FFT_R2X.H>
Public Types | |
using | MF = std::conditional_t< std::is_same_v< T, Real >, MultiFab, FabArray< BaseFab< T > > > |
using | cMF = FabArray< BaseFab< GpuComplex< T > > > |
Public Member Functions | |
R2X (Box const &domain, Array< std::pair< Boundary, Boundary >, AMREX_SPACEDIM > const &bc, Info const &info=Info{}) | |
~R2X () | |
R2X (R2X const &)=delete | |
R2X (R2X &&)=delete | |
R2X & | operator= (R2X const &)=delete |
R2X & | operator= (R2X &&)=delete |
T | scalingFactor () const |
template<typename F > | |
void | forwardThenBackward (MF const &inmf, MF &outmf, F const &post_forward) |
template<int dim, typename FAB , typename F > | |
void | post_forward_doit (FAB *fab, F const &f) |
template<int Depth, typename F > | |
void | forwardThenBackward_doit (MF const &inmf, MF &outmf, F const &post_forward, IntVect const &ngout=IntVect(0), Periodicity const &period=Periodicity::NonPeriodic()) |
Private Member Functions | |
void | forward (MF const &inmf, MF &outmf) |
void | forward (MF const &inmf, cMF &outmf) |
void | forward (MF const &inmf) |
void | backward (MF const &inmf, MF &outmf, IntVect const &ngout, Periodicity const &period) |
void | backward (cMF const &inmf, MF &outmf, IntVect const &ngout, Periodicity const &period) |
void | backward () |
Friends | |
template<typename U > | |
class | Poisson |
template<typename U > | |
class | PoissonHybrid |
Discrete Fourier Transform.
This class supports Fourier transforms including cosine and sine transforms.
using amrex::FFT::R2X< T >::cMF = FabArray<BaseFab<GpuComplex<T> > > |
using amrex::FFT::R2X< T >::MF = std::conditional_t<std::is_same_v<T,Real>, MultiFab, FabArray<BaseFab<T> > > |
amrex::FFT::R2X< T >::R2X | ( | Box const & | domain, |
Array< std::pair< Boundary, Boundary >, AMREX_SPACEDIM > const & | bc, | ||
Info const & | info = Info{} |
||
) |
amrex::FFT::R2X< T >::~R2X |
|
delete |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void amrex::FFT::R2X< T >::forwardThenBackward | ( | MF const & | inmf, |
MF & | outmf, | ||
F const & | post_forward | ||
) |
void amrex::FFT::R2X< T >::forwardThenBackward_doit | ( | MF const & | inmf, |
MF & | outmf, | ||
F const & | post_forward, | ||
IntVect const & | ngout = IntVect(0) , |
||
Periodicity const & | period = Periodicity::NonPeriodic() |
||
) |
|
delete |
|
delete |
void amrex::FFT::R2X< T >::post_forward_doit | ( | FAB * | fab, |
F const & | f | ||
) |
T amrex::FFT::R2X< T >::scalingFactor |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |