#include <AMReX_PETSc.H>
|
| PETScABecLap (const BoxArray &grids, const DistributionMapping &dmap, const Geometry &geom_, MPI_Comm comm_) |
|
| ~PETScABecLap () |
|
| PETScABecLap (PETScABecLap const &)=delete |
|
| PETScABecLap (PETScABecLap &&) noexcept=delete |
|
PETScABecLap & | operator= (PETScABecLap const &)=delete |
|
PETScABecLap & | operator= (PETScABecLap &&) noexcept=delete |
|
void | setScalars (Real sa, Real sb) |
|
void | setACoeffs (const MultiFab &alpha) |
|
void | setBCoeffs (const Array< const MultiFab *, BL_SPACEDIM > &beta) |
|
void | setVerbose (int _verbose) |
|
void | solve (MultiFab &soln, const MultiFab &rhs, Real rel_tol, Real abs_tol, int max_iter, const BndryData &bndry, int max_bndry_order) |
|
void | prepareSolver () |
|
void | loadVectors (MultiFab &soln, const MultiFab &rhs) |
|
void | getSolution (MultiFab &soln) |
|
◆ PETScABecLap() [1/3]
◆ ~PETScABecLap()
amrex::PETScABecLap::~PETScABecLap |
( |
| ) |
|
◆ PETScABecLap() [2/3]
◆ PETScABecLap() [3/3]
◆ getSolution()
void amrex::PETScABecLap::getSolution |
( |
MultiFab & |
soln | ) |
|
◆ loadVectors()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ prepareSolver()
void amrex::PETScABecLap::prepareSolver |
( |
| ) |
|
◆ setACoeffs()
void amrex::PETScABecLap::setACoeffs |
( |
const MultiFab & |
alpha | ) |
|
◆ setBCoeffs()
◆ setScalars()
void amrex::PETScABecLap::setScalars |
( |
Real |
sa, |
|
|
Real |
sb |
|
) |
| |
◆ setVerbose()
void amrex::PETScABecLap::setVerbose |
( |
int |
_verbose | ) |
|
◆ solve()
void amrex::PETScABecLap::solve |
( |
MultiFab & |
soln, |
|
|
const MultiFab & |
rhs, |
|
|
Real |
rel_tol, |
|
|
Real |
abs_tol, |
|
|
int |
max_iter, |
|
|
const BndryData & |
bndry, |
|
|
int |
max_bndry_order |
|
) |
| |
std::unique_ptr<amrex_Mat> amrex::PETScABecLap::A |
|
private |
◆ acoefs
std::unique_ptr<amrex_Vec> amrex::PETScABecLap::b |
|
private |
◆ bcoefs
◆ cell_id
◆ cell_id_vec
◆ comm
◆ diaginv
◆ eb_stencil_size
constexpr PetscInt amrex::PETScABecLap::eb_stencil_size = AMREX_D_TERM(3, *3, *3) |
|
staticconstexprprivate |
◆ geom
◆ m_bndry
BndryData const* amrex::PETScABecLap::m_bndry = nullptr |
|
private |
◆ m_eb_b_coeffs
MultiFab const* amrex::PETScABecLap::m_eb_b_coeffs = nullptr |
|
private |
◆ m_factory
◆ m_maxorder
int amrex::PETScABecLap::m_maxorder = -1 |
|
private |
◆ ncells_grid
LayoutData<PetscInt> amrex::PETScABecLap::ncells_grid |
|
private |
◆ regular_stencil_size
constexpr PetscInt amrex::PETScABecLap::regular_stencil_size = 2*AMREX_SPACEDIM + 1 |
|
staticconstexprprivate |
◆ scalar_a
Real amrex::PETScABecLap::scalar_a |
|
private |
◆ scalar_b
Real amrex::PETScABecLap::scalar_b |
|
private |
◆ solver
std::unique_ptr<amrex_KSP> amrex::PETScABecLap::solver |
|
private |
◆ verbose
int amrex::PETScABecLap::verbose = 0 |
|
private |
std::unique_ptr<amrex_Vec> amrex::PETScABecLap::x |
|
private |
The documentation for this class was generated from the following files: