A linear solver based on the ISTL AMG preconditioner and the ISTL BiCGSTAB solver. More...
#include <dumux/linear/amgbackend.hh>
A linear solver based on the ISTL AMG preconditioner and the ISTL BiCGSTAB solver.
Public Types | |
| using | Scalar = double |
Public Member Functions | |
| AMGBiCGSTABBackend (const std::string ¶mGroup="") | |
| Construct the backend for the sequential case only. More... | |
| AMGBiCGSTABBackend (const typename LinearSolverTraits::GridView &gridView, const typename LinearSolverTraits::DofMapper &dofMapper, const std::string ¶mGroup="") | |
| Construct the backend for parallel or sequential runs. More... | |
| void | updateAfterGridAdaption (const typename LinearSolverTraits::GridView &gridView, const typename LinearSolverTraits::DofMapper &dofMapper) |
| Update the solver after grid adaption. More... | |
| template<class Matrix , class Vector > | |
| bool | solve (Matrix &A, Vector &x, Vector &b) |
| Solve a linear system. More... | |
| std::string | name () const |
| The name of the solver. More... | |
| const Dune::InverseOperatorResult & | result () const |
| The result containing the convergence history. More... | |
| template<class Matrix , class Vector > | |
| bool | solve (const Matrix &A, Vector &x, const Vector &b) |
| Solve the linear system Ax = b. More... | |
| const std::string & | paramGroup () const |
| the parameter group for getting parameter from the parameter tree More... | |
| int | verbosity () const |
| the verbosity level More... | |
| void | setVerbosity (int v) |
| set the verbosity level More... | |
| int | maxIter () const |
| the maximum number of linear solver iterations More... | |
| void | setMaxIter (int i) |
| set the maximum number of linear solver iterations More... | |
| Scalar | residReduction () const |
| the linear solver residual reduction More... | |
| void | setResidualReduction (Scalar r) |
| set the linear solver residual reduction More... | |
| Scalar | relaxation () const |
| the linear solver relaxation factor More... | |
| void | setRelaxation (Scalar r) |
| set the linear solver relaxation factor More... | |
| int | precondIter () const |
| the number of preconditioner iterations More... | |
| void | setPrecondIter (int i) |
| set the number of preconditioner iterations More... | |
| int | precondVerbosity () const |
| the preconditioner verbosity More... | |
| void | setPrecondVerbosity (int verbosityLevel) |
| set the preconditioner verbosity More... | |
|
inherited |
export Scalar type (might be needed to set parameters from output) TODO: Do we need this?
|
inline |
Construct the backend for the sequential case only.
| paramGroup | the parameter group for parameter lookup |
|
inline |
Construct the backend for parallel or sequential runs.
| gridView | the grid view on which we are performing the multi-grid |
| dofMapper | an index mapper for dof entities |
| paramGroup | the parameter group for parameter lookup |
|
inlineinherited |
the maximum number of linear solver iterations
|
inline |
The name of the solver.
|
inlineinherited |
the parameter group for getting parameter from the parameter tree
|
inlineinherited |
the number of preconditioner iterations
|
inlineinherited |
the preconditioner verbosity
|
inlineinherited |
the linear solver relaxation factor
|
inlineinherited |
the linear solver residual reduction
|
inline |
The result containing the convergence history.
|
inlineinherited |
set the maximum number of linear solver iterations
|
inlineinherited |
set the number of preconditioner iterations
|
inlineinherited |
set the preconditioner verbosity
|
inlineinherited |
set the linear solver relaxation factor
|
inlineinherited |
set the linear solver residual reduction
|
inlineinherited |
set the verbosity level
|
inlineinherited |
Solve the linear system Ax = b.
|
inline |
Solve a linear system.
| A | the matrix |
| x | the seeked solution vector, containing the initial solution upon entry |
| b | the right hand side vector |
|
inline |
Update the solver after grid adaption.
| gridView | the grid view on which we are performing the multi-grid |
| dofMapper | an index mapper for dof entities |
|
inlineinherited |
the verbosity level