Standard dune-istl iterative linear solvers.
|
| IstlIterativeLinearSolver (const ParameterInitializer ¶ms="") |
| Constructor for sequential solvers. More...
|
|
template<class GridView , class DofMapper > |
| IstlIterativeLinearSolver (const GridView &gridView, const DofMapper &dofMapper, const ParameterInitializer ¶ms="") |
| Constructor for parallel and sequential solvers. More...
|
|
template<class GridView , class DofMapper > |
| IstlIterativeLinearSolver (std::shared_ptr< Comm > communication, std::shared_ptr< ScalarProduct > scalarProduct, const GridView &gridView, const DofMapper &dofMapper, const ParameterInitializer ¶ms="") |
| Constructor with custom scalar product and communication. More...
|
|
IstlSolverResult | solve (Matrix &A, XVector &x, BVector &b) |
| Solve the linear system Ax = b. More...
|
|
void | setMatrix (std::shared_ptr< Matrix > A) |
| Set the matrix A of the linear system Ax = b for reuse. More...
|
|
void | setMatrix (Matrix &A) |
| Set the matrix A of the linear system Ax = b for reuse. More...
|
|
IstlSolverResult | solve (XVector &x, BVector &b) const |
| Solve the linear system Ax = b where A has been set with setMatrix. More...
|
|
Scalar | norm (const XVector &x) const |
| Compute the 2-norm of vector x. More...
|
|
const std::string & | name () const |
| The name of the linear solver. More...
|
|
void | setResidualReduction (double residReduction) |
| Set the residual reduction tolerance. More...
|
|
void | setMaxIter (std::size_t maxIter) |
| Set the maximum number of linear solver iterations. More...
|
|
void | setParams (const ParameterInitializer ¶ms) |
| Set the linear solver parameters. More...
|
|