implements the Generalized Minimal Residual (GMRes) method
More...
#include <solvers.hh>
|
template<class L , class P > |
| RestartedGMResSolver (L &op, P &prec, real_type reduction, int restart, int maxit, int verbose) |
| Set up solver. More...
|
|
template<class L , class S , class P > |
| RestartedGMResSolver (L &op, S &sp, P &prec, real_type reduction, int restart, int maxit, int verbose) |
| Set up solver. More...
|
|
virtual void | apply (X &x, X &b, Dune::InverseOperatorResult &res) |
| Apply inverse operator. More...
|
|
virtual const
Ewoms::ConvergenceCriterion< X > & | convergenceCriterion () const |
| Return the criterion to be used to check for convergence of the linear solver. More...
|
|
virtual
Ewoms::ConvergenceCriterion< X > & | convergenceCriterion () |
| Return the criterion to be used to check for convergence of the linear solver. More...
|
|
virtual void | setConvergenceCriterion (std::shared_ptr< Ewoms::ConvergenceCriterion< X > > convCrit) |
| Set the criterion to be used to check for convergence of the linear solver. More...
|
|
virtual void | apply (X &x, Y &b, Dune::InverseOperatorResult &res)=0 |
| Apply inverse operator,. More...
|
|
template<class X, class Y = X, class F = Y>
class Ewoms::RestartedGMResSolver< X, Y, F >
implements the Generalized Minimal Residual (GMRes) method
GMRes solves the unsymmetric linear system Ax = b using the Generalized Minimal Residual method as described the SIAM Templates book (http://www.netlib.org/templates/templates.pdf).
- Template Parameters
-
X | trial vector, vector type of the solution |
Y | test vector, vector type of the RHS |
F | vector type for orthonormal basis of Krylov space |
template<class X , class Y = X, class F = Y>
The field type of the basis vectors.
template<class X , class Y = X, class F = Y>
The domain type of the operator to be inverted.
template<class X , class Y = X, class F = Y>
The field type of the operator to be inverted.
template<class X , class Y = X, class F = Y>
The range type of the operator to be inverted.
template<class X , class Y = X, class F = Y>
template<class X , class Y = X, class F = Y>
template<class L , class P >
template<class X , class Y = X, class F = Y>
template<class L , class S , class P >
template<class X, class Y>
template<class X , class Y = X, class F = Y>
template<class X, class Y>
template<class X, class Y>
Return the criterion to be used to check for convergence of the linear solver.
template<class X, class Y>
The documentation for this class was generated from the following file:
|