AlgebraicMultigrid 0.1
C++ algebraic multigrid.
|
Dense Jacobi iterative method. More...
#include <smoother.hpp>
Public Member Functions | |
Jacobi () | |
void | smooth (const Eigen::SparseMatrix< EleType > &A, Eigen::Matrix< EleType, -1, 1 > &u, const Eigen::Matrix< EleType, -1, 1 > &b) |
Update initial guess u inplace using Jacobi method. | |
Public Member Functions inherited from AMG::SmootherBase< EleType > | |
SmootherBase () | |
SmootherBase (size_t n_iters_) | |
SmootherBase (double tolerance_, size_t compute_error_every_n_iters_, size_t n_iters_) | |
Construct a new Smoother Base object with iterative solver member data. | |
Additional Inherited Members | |
Public Attributes inherited from AMG::SmootherBase< EleType > | |
EleType | tolerance {1e-9} |
Tolerance below which a smoother is considered to have converged. | |
size_t | compute_error_every_n_iters {100} |
Compute the error every n iterations during smoothing. | |
size_t | n_iters {1} |
Maximum number of iterations before smoothing termination. | |
Dense Jacobi iterative method.
EleType |
|
inline |
|
inlinevirtual |
Update initial guess u
inplace using Jacobi method.
References:
[1] : Heath, M.T. Scientific Computing. pp 468. SIAM 2018.
Implements AMG::SmootherBase< EleType >.