Dune::Amg::AMG< M, X, S, PI, A > Class Template Reference
[Parallel Algebraic Multigrid]
#include <amg.hh>
Inheritance diagram for Dune::Amg::AMG< M, X, S, PI, A >:

Detailed Description
template<class M, class X, class S, class PI = SequentialInformation, class A = std::allocator<X>>
class Dune::Amg::AMG< M, X, S, PI, A >
Parallel algebraic multigrid based on agglomeration.
Public Types | |
enum | { category = S::category } |
typedef M | Operator |
The matrix operator type. | |
typedef PI | ParallelInformation |
The type of the parallel information. Either OwnerOverlapCommunication or another type discribing the parallel data distribution and prvoiding communication methods. | |
typedef MatrixHierarchy< M, ParallelInformation, A > | OperatorHierarchy |
The operator hierarchy type. | |
typedef OperatorHierarchy::ParallelInformationHierarchy | ParallelInformationHierarchy |
The parallal data distribution hierarchy type. | |
typedef X | Domain |
The domain type. | |
typedef X | Range |
The range type. | |
typedef InverseOperator< X, X > | CoarseSolver |
the type of the coarse solver. | |
typedef S | Smoother |
The type of the smoother. | |
typedef SmootherTraits< Smoother >::Arguments | SmootherArgs |
The argument type for the construction of the smoother. | |
typedef X | domain_type |
The domain type of the preconditioner. | |
typedef X | range_type |
The range type of the preconditioner. | |
typedef X::field_type | field_type |
The field type of the preconditioner. | |
Public Member Functions | |
AMG (const OperatorHierarchy &matrices, CoarseSolver &coarseSolver, const SmootherArgs &smootherArgs, std::size_t gamma, std::size_t preSmoothingSteps, std::size_t postSmoothingSteps, bool additive=false) | |
Construct a new amg with a specific coarse solver. | |
template<class C> | |
AMG (const Operator &fineOperator, const C &criterion, const SmootherArgs &smootherArgs, std::size_t gamma=1, std::size_t preSmoothingSteps=2, std::size_t postSmoothingSteps=2, bool additive=false, const ParallelInformation &pinfo=ParallelInformation()) | |
Construct an AMG with an inexact coarse solver based on the smoother. | |
void | pre (Domain &x, Range &b) |
void | apply (Domain &v, const Range &d) |
void | post (Domain &x) |
The documentation for this class was generated from the following file: