Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::HypreABecLap Class Referencefinal

#include <AMReX_HypreABecLap.H>

Inheritance diagram for amrex::HypreABecLap:
amrex::Hypre

Public Member Functions

 HypreABecLap (const BoxArray &grids, const DistributionMapping &dmap, const Geometry &geom_, MPI_Comm comm_)
 
 ~HypreABecLap () override
 
 HypreABecLap (HypreABecLap const &)=delete
 
 HypreABecLap (HypreABecLap &&)=delete
 
HypreABecLapoperator= (HypreABecLap const &)=delete
 
HypreABecLapoperator= (HypreABecLap &&)=delete
 
void solve (MultiFab &soln, const MultiFab &rhs, Real reltol, Real abstol, int maxiter, const BndryData &bndry, int max_bndry_order) override
 
void prepareSolver ()
 
void loadVectors (MultiFab &soln, const MultiFab &rhs)
 
- Public Member Functions inherited from amrex::Hypre
 Hypre (const BoxArray &grids, const DistributionMapping &dmap, const Geometry &geom, MPI_Comm comm_)
 
virtual ~Hypre ()
 
 Hypre (Hypre &&) noexcept=default
 
Hypreoperator= (Hypre &&) noexcept=default
 
 Hypre (Hypre const &)=delete
 
Hypreoperator= (Hypre const &)=delete
 
void setScalars (Real sa, Real sb)
 
void setACoeffs (const MultiFab &alpha)
 
void setBCoeffs (const Array< const MultiFab *, 3 > &beta)
 
void setVerbose (int _verbose)
 
void setIsMatrixSingular (bool flag)
 
void setHypreOptionsNamespace (const std::string &ns) noexcept
 
void setHypreOldDefault (bool l) noexcept
 
void setHypreRelaxType (int n) noexcept
 
void setHypreRelaxOrder (int n) noexcept
 
void setHypreNumSweeps (int n) noexcept
 
void setHypreStrongThreshold (Real t) noexcept
 

Additional Inherited Members

- Public Types inherited from amrex::Hypre
enum class  Interface : int { structed , semi_structed , ij }
 
- Static Public Member Functions inherited from amrex::Hypre
static HYPRE_Int ispow2 (HYPRE_Int i)
 
static Array< HYPRE_Int, 3 > loV (const Box &b)
 
static Array< HYPRE_Int, 3 > hiV (const Box &b)
 
- Static Public Attributes inherited from amrex::Hypre
static constexpr HYPRE_Int regular_stencil_size = 2*3 + 1
 
static constexpr HYPRE_Int eb_stencil_size = 3 *3 *3
 
- Protected Attributes inherited from amrex::Hypre
MPI_Comm comm = MPI_COMM_NULL
 
Geometry geom
 
int verbose = 0
 
bool old_default = true
 
int relax_type = 6
 
int relax_order = 1
 
int num_sweeps = 2
 
Real strong_threshold = Real(0.25)
 
std::string options_namespace {"hypre"}
 
MultiFab acoefs
 
Array< MultiFab, 3 > bcoefs
 
Real scalar_a
 
Real scalar_b
 
MultiFab diaginv
 
FabFactory< FArrayBox > const * m_factory = nullptr
 
BndryData const * m_bndry = nullptr
 
int m_maxorder = -1
 
bool is_matrix_singular { false }
 

Constructor & Destructor Documentation

◆ HypreABecLap() [1/3]

amrex::HypreABecLap::HypreABecLap ( const BoxArray grids,
const DistributionMapping dmap,
const Geometry geom_,
MPI_Comm  comm_ 
)

◆ ~HypreABecLap()

amrex::HypreABecLap::~HypreABecLap ( )
override

◆ HypreABecLap() [2/3]

amrex::HypreABecLap::HypreABecLap ( HypreABecLap const &  )
delete

◆ HypreABecLap() [3/3]

amrex::HypreABecLap::HypreABecLap ( HypreABecLap &&  )
delete

Member Function Documentation

◆ loadVectors()

void amrex::HypreABecLap::loadVectors ( MultiFab soln,
const MultiFab rhs 
)

◆ operator=() [1/2]

HypreABecLap & amrex::HypreABecLap::operator= ( HypreABecLap &&  )
delete

◆ operator=() [2/2]

HypreABecLap & amrex::HypreABecLap::operator= ( HypreABecLap const &  )
delete

◆ prepareSolver()

void amrex::HypreABecLap::prepareSolver ( )

◆ solve()

void amrex::HypreABecLap::solve ( MultiFab soln,
const MultiFab rhs,
Real  reltol,
Real  abstol,
int  maxiter,
const BndryData bndry,
int  max_bndry_order 
)
overridevirtual

Implements amrex::Hypre.


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