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.
|
| AMG (const OperatorHierarchy &matrices, CoarseSolver &coarseSolver, const SmootherArgs &smootherArgs, const Parameters &parms) |
| 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, std::size_t preSmoothingSteps, std::size_t postSmoothingSteps, bool additive=false, const ParallelInformation &pinfo=ParallelInformation()) |
| Construct an AMG with an inexact coarse solver based on the smoother.
|
template<class C > |
| AMG (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.
|
| AMG (const AMG &amg) |
| Copy constructor.
|
| ~AMG () |
void | pre (Domain &x, Range &b) |
| Prepare the preconditioner.
|
void | apply (Domain &v, const Range &d) |
| Apply one step of the preconditioner to the system A(v)=d.
|
void | post (Domain &x) |
| Clean up.
|
template<class A1 > |
void | getCoarsestAggregateNumbers (std::vector< std::size_t, A1 > &cont) |
| Get the aggregate number of each unknown on the coarsest level.
|
std::size_t | levels () |
std::size_t | maxlevels () |
void | recalculateHierarchy () |
| Recalculate the matrix hierarchy.
|
bool | usesDirectCoarseLevelSolver () const |
| Check whether the coarse solver used is a direct solver.
|
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.
- Template Parameters
-
M | The matrix type |
X | The vector type |
A | An allocator for X |