Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::FFT::Poisson< MF > Class Template Reference

Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT. More...

#include <AMReX_FFT_Poisson.H>

Public Member Functions

template<typename FA = MF, std::enable_if_t< IsFabArray_v< FA >, int > = 0>
 Poisson (Geometry const &geom, Array< std::pair< Boundary, Boundary >, 3 > const &bc)
 
template<typename FA = MF, std::enable_if_t< IsFabArray_v< FA >, int > = 0>
 Poisson (Geometry const &geom)
 
void solve (MF &a_soln, MF const &a_rhs)
 

Detailed Description

template<typename MF = MultiFab>
class amrex::FFT::Poisson< MF >

Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT.

Constructor & Destructor Documentation

◆ Poisson() [1/2]

template<typename MF = MultiFab>
template<typename FA = MF, std::enable_if_t< IsFabArray_v< FA >, int > = 0>
amrex::FFT::Poisson< MF >::Poisson ( Geometry const &  geom,
Array< std::pair< Boundary, Boundary >, 3 > const &  bc 
)
inline

◆ Poisson() [2/2]

template<typename MF = MultiFab>
template<typename FA = MF, std::enable_if_t< IsFabArray_v< FA >, int > = 0>
amrex::FFT::Poisson< MF >::Poisson ( Geometry const &  geom)
inlineexplicit

Member Function Documentation

◆ solve()

template<typename MF >
void amrex::FFT::Poisson< MF >::solve ( MF &  a_soln,
MF const &  a_rhs 
)

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