ViennaCL - The Vienna Computing Library
1.5.2
|
Implementations of several variants of the AMG interpolation operators (setup phase). Experimental. More...
#include <boost/numeric/ublas/vector.hpp>
#include <cmath>
#include "viennacl/linalg/detail/amg/amg_base.hpp"
#include <map>
#include "viennacl/linalg/detail/amg/amg_debug.hpp"
Go to the source code of this file.
Namespaces | |
viennacl | |
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them. | |
viennacl::linalg | |
Provides all linear algebra operations which are not covered by operator overloads. | |
viennacl::linalg::detail | |
Namespace holding implementation details for linear algebra routines. Usually not of interest for a library user. | |
viennacl::linalg::detail::amg | |
Implementation namespace for algebraic multigrid preconditioner. | |
Functions | |
template<typename InternalType1 , typename InternalType2 > | |
void | amg_interpol (unsigned int level, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
Calls the right function to build interpolation matrix. More... | |
template<typename InternalType1 , typename InternalType2 > | |
void | amg_interpol_direct (unsigned int level, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
Direct interpolation. Multi-threaded! (VIENNACL_AMG_INTERPOL_DIRECT) More... | |
template<typename InternalType1 , typename InternalType2 > | |
void | amg_interpol_classic (unsigned int level, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
Classical interpolation. Don't use with onepass classical coarsening or RS0 (Yang, p.14)! Multi-threaded! (VIENNACL_AMG_INTERPOL_CLASSIC) More... | |
template<typename SparseMatrixType > | |
void | amg_truncate_row (SparseMatrixType &P, unsigned int row, amg_tag &tag) |
Interpolation truncation (for VIENNACL_AMG_INTERPOL_DIRECT and VIENNACL_AMG_INTERPOL_CLASSIC) More... | |
template<typename InternalType1 , typename InternalType2 > | |
void | amg_interpol_ag (unsigned int level, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag) |
AG (aggregation based) interpolation. Multi-Threaded! (VIENNACL_INTERPOL_SA) More... | |
template<typename InternalType1 , typename InternalType2 > | |
void | amg_interpol_sa (unsigned int level, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
SA (smoothed aggregate) interpolation. Multi-Threaded! (VIENNACL_INTERPOL_SA) More... | |
Implementations of several variants of the AMG interpolation operators (setup phase). Experimental.