|
| Linear () |
|
| Linear (Operator::Operator< Grid::Node > &a_lp) |
|
| ~Linear () |
|
void | Define (Operator::Operator< Grid::Node > &a_lp) |
|
void | Clear () |
|
Set::Scalar | solveaffine (amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_sol, amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_rhs, Real a_tol_rel, Real a_tol_abs, bool copyrhs=false, const char *checkpoint_file=nullptr) |
|
Set::Scalar | solve (amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_sol, amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_rhs, Real a_tol_rel, Real a_tol_abs, const char *checkpoint_file=nullptr) |
|
Set::Scalar | solve (amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_sol, amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_rhs) |
|
void | apply (amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_rhs, amrex::Vector< std::unique_ptr< amrex::MultiFab > > &a_sol) |
|
void | setMaxIter (const int a_max_iter) |
|
void | setBottomMaxIter (const int a_bottom_max_iter) |
|
void | setMaxFmgIter (const int a_max_fmg_iter) |
|
void | setFixedIter (const int a_fixed_iter) |
|
void | setVerbose (const int a_verbose) |
|
void | setPreSmooth (const int a_pre_smooth) |
|
void | setPostSmooth (const int a_post_smooth) |
|
void | dumpOnConvergenceFail (const amrex::Vector< amrex::MultiFab * > &a_sol_mf, const amrex::Vector< amrex::MultiFab const * > &a_rhs_mf) |
|
This class is a thin wrapper for the amrex::MLMG
solver. It exists to set a range of default MLMG settings automatically, for instance, setCFStrategy
, which may not be obvious to the user.
It also exists as a compatibility layer so that future fixes for compatibility with AMReX can be implemented here.
Definition at line 19 of file Linear.H.