dune-istl
2.2.0
|
an algebraic multigrid method using a Krylov-cycle. More...
#include <dune/istl/paamg/kamg.hh>
Public Types | |
enum | { category = Amg::category } |
typedef AMG< M, X, S, PI, A > | Amg |
The type of the underlying AMG. | |
typedef K | KrylovSolver |
The type of the Krylov solver for the cycle. | |
typedef Amg::OperatorHierarchy | OperatorHierarchy |
The type of the hierarchy of operators. | |
typedef Amg::CoarseSolver | CoarseSolver |
The type of the coarse solver. | |
typedef Amg::ParallelInformation | ParallelInformation |
the type of the parallelinformation to use. | |
typedef Amg::SmootherArgs | SmootherArgs |
The type of the arguments for construction of the smoothers. | |
typedef Amg::Operator | Operator |
the type of the lineatr operator. | |
typedef Amg::Domain | Domain |
the type of the domain. | |
typedef Amg::Range | Range |
The type of the range. | |
typedef Amg::ParallelInformationHierarchy | ParallelInformationHierarchy |
The type of the hierarchy of parallel information. | |
typedef Amg::ScalarProduct | ScalarProduct |
The type of the scalar product. | |
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 | |
KAMG (const OperatorHierarchy &matrices, CoarseSolver &coarseSolver, const SmootherArgs &smootherArgs, std::size_t gamma, std::size_t preSmoothingSteps=1, std::size_t postSmoothingSteps=1, std::size_t maxLevelKrylovSteps=3, double minDefectReduction=1e-1) | |
Construct a new amg with a specific coarse solver. | |
template<class C > | |
KAMG (const Operator &fineOperator, const C &criterion, const SmootherArgs &smootherArgs, std::size_t gamma=1, std::size_t preSmoothingSteps=1, std::size_t postSmoothingSteps=1, std::size_t maxLevelKrylovSteps=3, double minDefectReduction=1e-1, const ParallelInformation &pinfo=ParallelInformation()) | |
Construct an AMG with an inexact coarse solver based on the smoother. | |
void | pre (Domain &x, Range &b) |
Prepare the preconditioner. | |
void | post (Domain &x) |
Clean up. | |
void | apply (Domain &x, const Range &b) |
| |
std::size_t | maxlevels () |
an algebraic multigrid method using a Krylov-cycle.
M | The type of the linear operator. |
X | The type of the range and domain. |
PI | The parallel information object. Use SequentialInformation (default) for a sequential AMG, OwnerOverlapCopyCommunication for the parallel case. |
K | The type of the Krylov method to use for the cycle. |
A | The type of the allocator to use. |
typedef AMG<M,X,S,PI,A> Dune::Amg::KAMG< M, X, S, PI, K, A >::Amg |
The type of the underlying AMG.
typedef Amg::CoarseSolver Dune::Amg::KAMG< M, X, S, PI, K, A >::CoarseSolver |
The type of the coarse solver.
typedef Amg::Domain Dune::Amg::KAMG< M, X, S, PI, K, A >::Domain |
the type of the domain.
|
inherited |
The domain type of the preconditioner.
Reimplemented in Dune::SeqOverlappingSchwarz< M, X, TM, TD, TA >, and Dune::SeqOverlappingSchwarz< M, X, TM, TS, TA >.
|
inherited |
The field type of the preconditioner.
Reimplemented in Dune::SeqOverlappingSchwarz< M, X, TM, TD, TA >, and Dune::SeqOverlappingSchwarz< M, X, TM, TS, TA >.
typedef K Dune::Amg::KAMG< M, X, S, PI, K, A >::KrylovSolver |
The type of the Krylov solver for the cycle.
typedef Amg::Operator Dune::Amg::KAMG< M, X, S, PI, K, A >::Operator |
the type of the lineatr operator.
typedef Amg::OperatorHierarchy Dune::Amg::KAMG< M, X, S, PI, K, A >::OperatorHierarchy |
The type of the hierarchy of operators.
typedef Amg::ParallelInformation Dune::Amg::KAMG< M, X, S, PI, K, A >::ParallelInformation |
the type of the parallelinformation to use.
typedef Amg::ParallelInformationHierarchy Dune::Amg::KAMG< M, X, S, PI, K, A >::ParallelInformationHierarchy |
The type of the hierarchy of parallel information.
typedef Amg::Range Dune::Amg::KAMG< M, X, S, PI, K, A >::Range |
The type of the range.
|
inherited |
The range type of the preconditioner.
Reimplemented in Dune::SeqOverlappingSchwarz< M, X, TM, TD, TA >, and Dune::SeqOverlappingSchwarz< M, X, TM, TS, TA >.
typedef Amg::ScalarProduct Dune::Amg::KAMG< M, X, S, PI, K, A >::ScalarProduct |
The type of the scalar product.
typedef Amg::SmootherArgs Dune::Amg::KAMG< M, X, S, PI, K, A >::SmootherArgs |
The type of the arguments for construction of the smoothers.
anonymous enum |