Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT.
More...
#include <AMReX_FFT_Poisson.H>
template<typename MF = MultiFab>
class amrex::FFT::Poisson< MF >
Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT.
◆ Poisson() [1/2]
template<typename MF = MultiFab>
template<typename FA = MF, std::enable_if_t<
IsFabArray_v< FA >,
int > = 0>
Construct a Poisson solver with explicit boundary types.
- Parameters
-
| geom | Geometry describing the domain and metric information. |
| bc | Pair of boundary descriptors (low/high) per coordinate direction. |
◆ Poisson() [2/2]
template<typename MF = MultiFab>
template<typename FA = MF, std::enable_if_t<
IsFabArray_v< FA >,
int > = 0>
Construct a purely periodic Poisson solver.
- Parameters
-
| geom | Periodic geometry (all directions must be periodic). |
◆ solve()
Solve del dot grad soln = rhs.
If soln has ghost cells, one layer of ghost cells will be filled except for the corners of the physical domain where they are not used in the cross stencil of the operator. The two MFs could be the same MF.
- Parameters
-
The documentation for this class was generated from the following file: