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