All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
amg_operations.hpp File Reference

Implementations of operations for algebraic multigrid. More...

`#include "viennacl/forwards.h"`
`#include "viennacl/scalar.hpp"`
`#include "viennacl/vector.hpp"`
`#include "viennacl/matrix.hpp"`
`#include "viennacl/tools/tools.hpp"`
`#include "viennacl/linalg/detail/amg/amg_base.hpp"`
`#include "viennacl/linalg/host_based/amg_operations.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 NumericT , typename AMGContextT >
void | viennacl::linalg::detail::amg::amg_influence (compressed_matrix< NumericT > const &A, AMGContextT &amg_context, amg_tag &tag)
template<typename NumericT , typename AMGContextT >
void | viennacl::linalg::detail::amg::amg_coarse (compressed_matrix< NumericT > const &A, AMGContextT &amg_context, amg_tag &tag)
template<typename NumericT , typename AMGContextT >
void | viennacl::linalg::detail::amg::amg_interpol (compressed_matrix< NumericT > const &A, compressed_matrix< NumericT > &P, AMGContextT &amg_context, amg_tag &tag)
template<typename NumericT >
void | viennacl::linalg::detail::amg::amg_transpose (compressed_matrix< NumericT > &A, compressed_matrix< NumericT > &B)
template<typename SparseMatrixType , typename NumericT >
viennacl::enable_if < viennacl::is_any_sparse_matrix < SparseMatrixType >::value > ::type | viennacl::linalg::detail::amg::assign_to_dense (SparseMatrixType const &A, viennacl::matrix_base< NumericT > &B)
template<typename NumericT >
void | viennacl::linalg::detail::amg::smooth_jacobi (unsigned int iterations, compressed_matrix< NumericT > const &A, vector< NumericT > &x, vector< NumericT > &x_backup, vector< NumericT > const &rhs_smooth, NumericT weight)

## Detailed Description

Implementations of operations for algebraic multigrid.

Definition in file amg_operations.hpp.