Block-Structured AMR Software Framework
amrex::FFT::OpenBCSolver< T > Class Template Reference

#include <AMReX_FFT_OpenBCSolver.H>

Public Types

using MF = typename R2C< T >::MF
 
using cMF = typename R2C< T >::cMF
 

Public Member Functions

 OpenBCSolver (Box const &domain, Info const &info=Info{})
 
template<class F >
void setGreensFunction (F const &greens_function)
 
void solve (MF &phi, MF const &rho)
 
Box const & Domain () const
 

Static Private Member Functions

static Box make_grown_domain (Box const &domain, Info const &info)
 

Private Attributes

Box m_domain
 
Info m_info
 
R2C< T > m_r2c
 
cMF m_G_fft
 
std::unique_ptr< R2C< T > > m_r2c_green
 

Member Typedef Documentation

◆ cMF

template<typename T = Real>
using amrex::FFT::OpenBCSolver< T >::cMF = typename R2C<T>::cMF

◆ MF

template<typename T = Real>
using amrex::FFT::OpenBCSolver< T >::MF = typename R2C<T>::MF

Constructor & Destructor Documentation

◆ OpenBCSolver()

template<typename T >
amrex::FFT::OpenBCSolver< T >::OpenBCSolver ( Box const &  domain,
Info const &  info = Info{} 
)
explicit

Member Function Documentation

◆ Domain()

template<typename T = Real>
Box const& amrex::FFT::OpenBCSolver< T >::Domain ( ) const
inline

◆ make_grown_domain()

template<typename T >
Box amrex::FFT::OpenBCSolver< T >::make_grown_domain ( Box const &  domain,
Info const &  info 
)
staticprivate

◆ setGreensFunction()

template<typename T >
template<class F >
void amrex::FFT::OpenBCSolver< T >::setGreensFunction ( F const &  greens_function)

◆ solve()

template<typename T >
void amrex::FFT::OpenBCSolver< T >::solve ( MF phi,
MF const &  rho 
)

Member Data Documentation

◆ m_domain

template<typename T = Real>
Box amrex::FFT::OpenBCSolver< T >::m_domain
private

◆ m_G_fft

template<typename T = Real>
cMF amrex::FFT::OpenBCSolver< T >::m_G_fft
private

◆ m_info

template<typename T = Real>
Info amrex::FFT::OpenBCSolver< T >::m_info
private

◆ m_r2c

template<typename T = Real>
R2C<T> amrex::FFT::OpenBCSolver< T >::m_r2c
private

◆ m_r2c_green

template<typename T = Real>
std::unique_ptr<R2C<T> > amrex::FFT::OpenBCSolver< T >::m_r2c_green
private

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