PoissonFFTSolver Class ReferenceΒΆ

adc_cpp: pops::PoissonFFTSolver Class Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::PoissonFFTSolver Class Reference

#include <poisson_fft_solver.hpp>

+ Collaboration diagram for pops::PoissonFFTSolver:

Public Member Functions

 PoissonFFTSolver (const Geometry &geom, const BoxArray &ba, const BCRec &=BCRec{}, std::function< bool(Real, Real)>={}, bool spectral=false)
 spectral: Laplacian symbol (false = discrete 5-point stencil, bit-identical default; true = continuous symbol -(kx^2+ky^2), faithful to spectral references – cf.
 
MultiFabrhs ()
 
MultiFabphi ()
 
const Geometrygeom () const
 
void solve ()
 
Real residual ()
 

Constructor & Destructor Documentation

◆ PoissonFFTSolver()

pops::PoissonFFTSolver::PoissonFFTSolver ( const Geometry geom,
const BoxArray ba,
const BCRec = BCRec{},
std::function< bool(Real, Real)>  = {},
bool  spectral = false 
)
inline

spectral: Laplacian symbol (false = discrete 5-point stencil, bit-identical default; true = continuous symbol -(kx^2+ky^2), faithful to spectral references – cf.

PoissonFFT).

Member Function Documentation

◆ geom()

const Geometry & pops::PoissonFFTSolver::geom ( ) const
inline

◆ phi()

MultiFab & pops::PoissonFFTSolver::phi ( )
inline

◆ residual()

Real pops::PoissonFFTSolver::residual ( )
inline
+ Here is the call graph for this function:

◆ rhs()

MultiFab & pops::PoissonFFTSolver::rhs ( )
inline

◆ solve()

void pops::PoissonFFTSolver::solve ( )
inline
+ Here is the call graph for this function:

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