Main include file for algebraic multigrid (AMG) preconditioners. Experimental in 1.2.x.
More...
Functions |
template<typename InternalType1 , typename InternalType2 > |
void | amg_setup (InternalType1 &A, InternalType1 &P, InternalType2 &Pointvector, amg_tag &tag) |
| Setup AMG preconditioner.
|
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.
|
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.
|
template<typename InternalType1 , typename InternalType2 > |
void | amg_transform_gpu (InternalType1 &A, InternalType1 &P, InternalType1 &R, InternalType2 &A_setup, InternalType2 &P_setup, amg_tag &tag) |
| Save operators after setup phase for GPU computation.
|
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.
|
template<typename ScalarType , typename SparseMatrixType > |
void | amg_lu (boost::numeric::ublas::compressed_matrix< ScalarType > &op, boost::numeric::ublas::permutation_matrix< ScalarType > &Permutation, SparseMatrixType const &A) |
| Pre-compute LU factorization for direct solve (ublas library).
|
Main include file for algebraic multigrid (AMG) preconditioners. Experimental in 1.2.x.
Implementation contributed by Markus Wagner