Main include file for algebraic multigrid (AMG) preconditioners. Experimental.
More...
|
template<typename InternalType1 , typename InternalType2 > |
void | amg_setup (InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
| Setup AMG preconditioner. More...
|
|
template<typename MatrixType , typename InternalType1 , typename InternalType2 > |
void | amg_init (MatrixType const &mat, InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
| Initialize AMG preconditioner. More...
|
|
template<typename InternalType1 , typename InternalType2 > |
void | amg_transform_cpu (InternalType1 &A, InternalType1 &P, InternalType1 &R, InternalType2 &A_setup, InternalType2 &P_setup, amg_tag &tag) |
| Save operators after setup phase for CPU computation. More...
|
|
template<typename InternalType1 , typename InternalType2 > |
void | amg_transform_gpu (InternalType1 &A, InternalType1 &P, InternalType1 &R, InternalType2 &A_setup, InternalType2 &P_setup, amg_tag &tag, viennacl::context ctx) |
| Save operators after setup phase for GPU computation. More...
|
|
template<typename InternalVectorType , typename SparseMatrixType > |
void | amg_setup_apply (InternalVectorType &result, InternalVectorType &rhs, InternalVectorType &residual, SparseMatrixType const &A, amg_tag const &tag) |
| Setup data structures for precondition phase. More...
|
|
template<typename InternalVectorType , typename SparseMatrixType > |
void | amg_setup_apply (InternalVectorType &result, InternalVectorType &rhs, InternalVectorType &residual, SparseMatrixType const &A, amg_tag const &tag, viennacl::context ctx) |
| Setup data structures for precondition phase for later use on the GPU. More...
|
|
template<typename ScalarType , typename SparseMatrixType > |
void | amg_lu (boost::numeric::ublas::compressed_matrix< ScalarType > &op, boost::numeric::ublas::permutation_matrix<> &Permutation, SparseMatrixType const &A) |
| Pre-compute LU factorization for direct solve (ublas library). More...
|
|
Main include file for algebraic multigrid (AMG) preconditioners. Experimental.
Implementation contributed by Markus Wagner