AMG preconditioner class, can be supplied to solve()-routines. More...
#include <amg.hpp>
Public Member Functions | |
amg_precond () | |
amg_precond (compressed_matrix< NumericT, AlignmentV > const &mat, amg_tag const &tag) | |
The constructor. Builds data structures. More... | |
void | setup () |
Start setup phase for this class and copy data structures. More... | |
void | init_apply () const |
Prepare data structures for preconditioning: Build data structures for precondition phase. Do LU factorization on coarsest level. More... | |
template<typename VectorT > | |
NumericT | calc_complexity (VectorT &avgstencil) |
Returns complexity measures. More... | |
template<typename VectorT > | |
void | apply (VectorT &vec) const |
Precondition Operation. More... | |
template<typename VectorT > | |
void | smooth_jacobi (vcl_size_t level, unsigned int iterations, VectorT &x, VectorT const &rhs_smooth) const |
Jacobi Smoother (GPU version) More... | |
amg_tag & | tag () |
AMG preconditioner class, can be supplied to solve()-routines.
Specialization for compressed_matrix
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |