Dune::Amg::MatrixHierarchy< M, PI, A > Class Template Reference
[Parallel Algebraic Multigrid]
#include <hierarchy.hh>
Detailed Description
template<class M, class PI, class A = std::allocator<M>>
class Dune::Amg::MatrixHierarchy< M, PI, A >
The hierarchies build by the coarsening process.
Namely a hierarchy of matrices, index sets, remote indices, interfaces and communicators.
Public Types | |
typedef M | MatrixOperator |
The type of the matrix operator. | |
typedef MatrixOperator::matrix_type | Matrix |
The type of the matrix. | |
typedef PI | ParallelInformation |
The type of the index set. | |
typedef A | Allocator |
The allocator to use. | |
typedef AggregatesMap < typename MatrixGraph< Matrix > ::VertexDescriptor > | AggregatesMap |
The type of the aggregates map we use. | |
typedef Hierarchy < MatrixOperator, Allocator > | ParallelMatrixHierarchy |
The type of the parallel matrix hierarchy. | |
typedef Hierarchy < ParallelInformation, Allocator > | ParallelInformationHierarchy |
The type of the parallel informarion hierarchy. | |
typedef Allocator::template rebind< AggregatesMap * > ::other | AAllocator |
Allocator for pointers. | |
typedef std::list < AggregatesMap *, AAllocator > | AggregatesMapList |
The type of the aggregates maps list. | |
Public Member Functions | |
MatrixHierarchy (const MatrixOperator &fineMatrix, const ParallelInformation &pinfo=ParallelInformation()) | |
Constructor. | |
template<typename O, typename T> | |
void | build (const T &criterion) |
Build the matrix hierarchy using aggregation. | |
template<class F> | |
void | recalculateGalerkin (const F ©Flags) |
Recalculate the galerkin products. | |
template<class V, class TA> | |
void | coarsenVector (Hierarchy< BlockVector< V, TA > > &hierarchy) const |
Coarsen the vector hierarchy according to the matrix hierarchy. | |
template<class S, class TA> | |
void | coarsenSmoother (Hierarchy< S, TA > &smoothers, const typename SmootherTraits< S >::Arguments &args) const |
Coarsen the smoother hierarchy according to the matrix hierarchy. | |
int | levels () const |
Get the number of levels in the hierarchy. | |
bool | isBuilt () const |
Whether the hierarchy wis built. | |
const ParallelMatrixHierarchy & | matrices () const |
Get the matrix hierarchy. | |
const ParallelInformationHierarchy & | parallelInformation () const |
Get the hierarchy of the parallel data distribution information. | |
const AggregatesMapList & | aggregatesMaps () const |
Get the hierarchy of the mappings of the nodes onto aggregates. |
The documentation for this class was generated from the following file: