![]() |
Block-Structured AMR Software Framework
|
Weighted-Jacobi smoother for AlgVector/SpMatrix linear systems. More...
#include <AMReX_Smoother_MV.H>
Public Member Functions | |
| JacobiSmoother (SpMatrix< T > const *a_A) | |
Construct a weighted-Jacobi smoother that operates on a_A. | |
| int | setNumIters (int a_niters) |
| Update how many Jacobi sweeps to perform per apply. | |
| void | operator() (AlgVector< T > &xvec, AlgVector< T > const &bvec, bool with_initial_guess=false) |
Apply the smoother to solve approximately for xvec. | |
Weighted-Jacobi smoother for AlgVector/SpMatrix linear systems.
Encapsulates a configurable number of damped Jacobi sweeps that operate on the diagonal extracted from a supplied sparse matrix.
|
inlineexplicit |
Construct a weighted-Jacobi smoother that operates on a_A.
| a_A | Sparse matrix supplying diagonal entries and SpMV. |
|
inline |
Apply the smoother to solve approximately for xvec.
| xvec | Solution vector updated in place. |
| bvec | RHS vector. |
| with_initial_guess | True if xvec already holds an initial guess. |
|
inline |
Update how many Jacobi sweeps to perform per apply.
| a_niters | Desired number of smoothing iterations. |