AlgebraicMultigrid 0.1
C++ algebraic multigrid.
|
Classes | |
class | Grid |
Static functions for constructing A and b , the components of a linear system Au = b . More... | |
class | InterpolatorBase |
Base class for interpolators that implement prolongation and restriction as linear operators constructed by the make_operators virtual function. More... | |
class | Jacobi |
Dense Jacobi iterative method. More... | |
class | LinearInterpolator |
Interface for linear interpolation. More... | |
class | Multigrid |
Interface for multigrid solver (via solve ) that iteratively performs standard vcycle s. More... | |
class | SmootherBase |
Base class for smoothers that must implement a smooth function for the iterative solution of a linear system Au = b . More... | |
class | SparseGaussSeidel |
Symmetric Gauss-Seidel smoother for sparse systems. More... | |
class | SuccessiveOverRelaxation |
Dense successive over relaxation iterative method. More... | |
Functions | |
template<class EleType > | |
EleType | rss (const Eigen::SparseMatrix< EleType > &A, const Eigen::Matrix< EleType, -1, 1 > &u, const Eigen::Matrix< EleType, -1, 1 > &b) |
Return residual sum of squares of bhat from Au and rhs b . | |
EleType AMG::rss | ( | const Eigen::SparseMatrix< EleType > & | A, |
const Eigen::Matrix< EleType, -1, 1 > & | u, | ||
const Eigen::Matrix< EleType, -1, 1 > & | b ) |
Return residual sum of squares of bhat
from Au
and rhs b
.
EleType |
A | Coefficients matrix for discretized governing equations. |
u | Solution to linear system of equations. |
b | Right hand side of linear system Au = b . |