![]() |
Block-Structured AMR Software Framework
|
Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT. More...
#include <AMReX_FFT_Poisson.H>
Public Member Functions | |
| Poisson (Geometry const &geom, Array< std::pair< Boundary, Boundary >, 3 > const &bc, Info const &info=Info{}) | |
| Construct a Poisson solver with explicit boundary types. | |
| Poisson (Geometry const &geom, Info const &info=Info{}) | |
| Construct a purely periodic Poisson solver. | |
| void | solve (MF &a_soln, MF const &a_rhs) |
| Solve del dot grad soln = rhs. | |
Poisson solver for periodic, Dirichlet & Neumann boundaries using FFT.
|
inlineexplicit |
Construct a purely periodic Poisson solver.
| geom | Periodic geometry (all directions must be periodic). |
| info | Only the communication strategy is used. |
| void amrex::FFT::Poisson< MF >::solve | ( | MF & | a_soln, |
| MF const & | a_rhs ) |
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.