|
opm-simulators
|
Parallel algebraic multigrid based on agglomeration. More...
#include <amgcpr.hh>
Public Types | |
| typedef M | Operator |
| The matrix operator type. More... | |
| typedef PI | ParallelInformation |
| The type of the parallel information. More... | |
| typedef MatrixHierarchy< M, ParallelInformation, A > | OperatorHierarchy |
| The operator hierarchy type. More... | |
| typedef OperatorHierarchy::ParallelInformationHierarchy | ParallelInformationHierarchy |
| The parallal data distribution hierarchy type. More... | |
| typedef X | Domain |
| The domain type. More... | |
| typedef X | Range |
| The range type. More... | |
| typedef InverseOperator< X, X > | CoarseSolver |
| the type of the coarse solver. More... | |
| typedef S | Smoother |
| The type of the smoother. More... | |
| typedef SmootherTraits< Smoother >::Arguments | SmootherArgs |
| The argument type for the construction of the smoother. More... | |
Public Member Functions | |
| AMGCPR (const OperatorHierarchy &matrices, CoarseSolver &coarseSolver, const SmootherArgs &smootherArgs, const Parameters &parms) | |
| Construct a new amg with a specific coarse solver. More... | |
| template<class C > | |
| AMGCPR (const Operator &fineOperator, const C &criterion, const SmootherArgs &smootherArgs=SmootherArgs(), const ParallelInformation &pinfo=ParallelInformation()) | |
| Construct an AMG with an inexact coarse solver based on the smoother. More... | |
| AMGCPR (const AMGCPR &amg) | |
| Copy constructor. | |
| void | pre (Domain &x, Range &b) override |
More... | |
| void | apply (Domain &v, const Range &d) override |
More... | |
| SolverCategory::Category | category () const override |
| Category of the preconditioner (see SolverCategory::Category) | |
| bool | hasPerfectUpdate () const override |
| void | post (Domain &x) override |
More... | |
| template<class A1 > | |
| void | getCoarsestAggregateNumbers (std::vector< std::size_t, A1 > &cont) |
| Get the aggregate number of each unknown on the coarsest level. More... | |
| std::size_t | levels () |
| std::size_t | maxlevels () |
| void | recalculateHierarchy () |
| Recalculate the matrix hierarchy. More... | |
| template<class C > | |
| void | updateSolver (C &criterion, const Operator &, const PI &pinfo) |
| Update the coarse solver and the hierarchies. | |
| void | update () override |
| Update the coarse solver and the hierarchies. | |
| bool | usesDirectCoarseLevelSolver () const |
| Check whether the coarse solver used is a direct solver. More... | |
Friends | |
| template<class M1 , class X1 , class S1 , class P1 , class K1 , class A1 > | |
| class | KAMG |
| class | KAmgTwoGrid< AMGCPR > |
Parallel algebraic multigrid based on agglomeration.
| M | The matrix type |
| X | The vector type |
| S | The smoother type |
| A | An allocator for X |