A simple ilu0 block diagonal preconditioned RestartedGMResSolver.
More...
#include <dumux/linear/seqsolverbackend.hh>
- Note
- expects a system as a multi-type block-matrix | A B | | C D |
|
| template<int precondBlockLevel = 2, class Matrix, class Vector> |
| bool | solve (const Matrix &M, Vector &x, const Vector &b) |
| |
| const Dune::InverseOperatorResult & | result () const |
| |
| std::string | name () const |
| |
| | LinearSolver (const std::string ¶mGroup="") |
| | Construct the solver.
|
| |
| template<class Vector> |
| auto | norm (const Vector &x) const |
| |
| const std::string & | paramGroup () const |
| | the parameter group for getting parameter from the parameter tree
|
| |
| int | verbosity () const |
| | the verbosity level
|
| |
| void | setVerbosity (int v) |
| | set the verbosity level
|
| |
| int | maxIter () const |
| | the maximum number of linear solver iterations
|
| |
| void | setMaxIter (int i) |
| | set the maximum number of linear solver iterations
|
| |
| Scalar | residReduction () const |
| | the linear solver residual reduction
|
| |
| void | setResidualReduction (Scalar r) |
| | set the linear solver residual reduction
|
| |
| Scalar | relaxation () const |
| | the linear solver relaxation factor
|
| |
| void | setRelaxation (Scalar r) |
| | set the linear solver relaxation factor
|
| |
| int | precondIter () const |
| | the number of preconditioner iterations
|
| |
| void | setPrecondIter (int i) |
| | set the number of preconditioner iterations
|
| |
| int | precondVerbosity () const |
| | the preconditioner verbosity
|
| |
| void | setPrecondVerbosity (int verbosityLevel) |
| | set the preconditioner verbosity
|
| |
◆ 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 |
- 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 |
◆ name()
| std::string Dumux::BlockDiagILU0RestartedGMResSolver::name |
( |
| ) |
const |
|
inline |
◆ norm()
template<class Vector>
| auto Dumux::LinearSolver::norm |
( |
const Vector & | x | ) |
const |
|
inlineinherited |
◆ paramGroup()
| const std::string & Dumux::LinearSolver::paramGroup |
( |
| ) |
const |
|
inlineinherited |
◆ precondIter()
| int Dumux::LinearSolver::precondIter |
( |
| ) |
const |
|
inlineinherited |
◆ precondVerbosity()
| int Dumux::LinearSolver::precondVerbosity |
( |
| ) |
const |
|
inlineinherited |
◆ relaxation()
| Scalar Dumux::LinearSolver::relaxation |
( |
| ) |
const |
|
inlineinherited |
◆ residReduction()
| Scalar Dumux::LinearSolver::residReduction |
( |
| ) |
const |
|
inlineinherited |
◆ result()
| const Dune::InverseOperatorResult & Dumux::BlockDiagILU0RestartedGMResSolver::result |
( |
| ) |
const |
|
inline |
◆ setMaxIter()
| void Dumux::LinearSolver::setMaxIter |
( |
int | i | ) |
|
|
inlineinherited |
◆ setPrecondIter()
| void Dumux::LinearSolver::setPrecondIter |
( |
int | i | ) |
|
|
inlineinherited |
◆ setPrecondVerbosity()
| void Dumux::LinearSolver::setPrecondVerbosity |
( |
int | verbosityLevel | ) |
|
|
inlineinherited |
◆ setRelaxation()
| void Dumux::LinearSolver::setRelaxation |
( |
Scalar | r | ) |
|
|
inlineinherited |
◆ setResidualReduction()
| void Dumux::LinearSolver::setResidualReduction |
( |
Scalar | r | ) |
|
|
inlineinherited |
◆ 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: