A traits class for selecting the types of the preconditioner. More...
#include <CPRPreconditioner.hpp>
Public Types | |
typedef Dune::Amg::SequentialInformation | ParallelInformation |
The information about the parallelization and communication. | |
typedef Dune::MatrixAdapter< M, X, Y > | Operator |
The operator type;. | |
typedef Dune::SeqILU0< M, X, X > | EllipticPreconditioner |
The type of the preconditioner used for the elliptic part. | |
typedef std::unique_ptr< EllipticPreconditioner > | EllipticPreconditionerPointer |
The type of the unique pointer to the preconditioner of the elliptic part. | |
typedef EllipticPreconditioner | Smoother |
type of AMG used to precondition the elliptic system. | |
typedef Dune::Amg::AMG< Operator, X, Smoother, ParallelInformation > | AMG |
Static Public Member Functions | |
static Operator * | makeOperator (const M &m, const P &) |
creates an Operator from the matrix More... | |
A traits class for selecting the types of the preconditioner.
M | The type of the matrix. |
X | The type of the domain of the linear problem. |
Y | The type of the range of the linear problem. |
P | The type of the parallel information. |
|
inlinestatic |
creates an Operator from the matrix
M | The matrix to use. |
p | The parallel information to use. |