A simple ilu0 block diagonal preconditioned RestartedGMResSolver.
More...
#include <dumux/linear/seqsolverbackend.hh>
A simple ilu0 block diagonal preconditioned RestartedGMResSolver.
- Note
- expects a system as a multi-type block-matrix | A B | | C D |
◆ Scalar
export Scalar type (might be needed to set parameters from output) TODO: Do we need this?
◆ LinearSolver()
Dumux::LinearSolver::LinearSolver |
( |
const std::string & |
paramGroup = "" | ) |
|
|
inline |
Contruct the solver.
- Note
- Read parameters from the parameter tree
- LinearSolver.Verbosity the verbosity level of the linear solver
- LinearSolver.MaxIterations the maximum iterations of the solver
- LinearSolver.ResidualReduction the residual reduction threshold, i.e. stopping criterion
- LinearSolver.Preconditioner.Relaxation precondition relaxation
- LinearSolver.Preconditioner.Iterations the number of preconditioner iterations
- LinearSolver.Preconditioner.Verbosity the preconditioner verbosity level
◆ maxIter()
int Dumux::LinearSolver::maxIter |
( |
| ) |
const |
|
inlineinherited |
the maximum number of linear solver iterations
◆ name()
std::string Dumux::BlockDiagILU0RestartedGMResSolver::name |
( |
| ) |
const |
|
inline |
◆ paramGroup()
const std::string & Dumux::LinearSolver::paramGroup |
( |
| ) |
const |
|
inlineinherited |
the parameter group for getting parameter from the parameter tree
◆ precondIter()
int Dumux::LinearSolver::precondIter |
( |
| ) |
const |
|
inlineinherited |
the number of preconditioner iterations
◆ precondVerbosity()
int Dumux::LinearSolver::precondVerbosity |
( |
| ) |
const |
|
inlineinherited |
the preconditioner verbosity
◆ relaxation()
Scalar Dumux::LinearSolver::relaxation |
( |
| ) |
const |
|
inlineinherited |
the linear solver relaxation factor
◆ residReduction()
Scalar Dumux::LinearSolver::residReduction |
( |
| ) |
const |
|
inlineinherited |
the linear solver residual reduction
◆ result()
const Dune::InverseOperatorResult & Dumux::BlockDiagILU0RestartedGMResSolver::result |
( |
| ) |
const |
|
inline |
◆ setMaxIter()
void Dumux::LinearSolver::setMaxIter |
( |
int |
i | ) |
|
|
inlineinherited |
set the maximum number of linear solver iterations
◆ setPrecondIter()
void Dumux::LinearSolver::setPrecondIter |
( |
int |
i | ) |
|
|
inlineinherited |
set the number of preconditioner iterations
◆ setPrecondVerbosity()
void Dumux::LinearSolver::setPrecondVerbosity |
( |
int |
verbosityLevel | ) |
|
|
inlineinherited |
set the preconditioner verbosity
◆ setRelaxation()
void Dumux::LinearSolver::setRelaxation |
( |
Scalar |
r | ) |
|
|
inlineinherited |
set the linear solver relaxation factor
◆ setResidualReduction()
void Dumux::LinearSolver::setResidualReduction |
( |
Scalar |
r | ) |
|
|
inlineinherited |
set the linear solver residual reduction
◆ setVerbosity()
void Dumux::LinearSolver::setVerbosity |
( |
int |
v | ) |
|
|
inlineinherited |
◆ solve()
template<int precondBlockLevel = 2, class Matrix , class Vector >
bool Dumux::BlockDiagILU0RestartedGMResSolver::solve |
( |
const Matrix & |
M, |
|
|
Vector & |
x, |
|
|
const Vector & |
b |
|
) |
| |
|
inline |
◆ verbosity()
int Dumux::LinearSolver::verbosity |
( |
| ) |
const |
|
inlineinherited |
The documentation for this class was generated from the following file: