dune-istl 2.9.0
|
Factory to assembly solvers configured by a ParameterTree
.
More...
#include <dune/istl/solverfactory.hh>
Static Public Member Functions | |
static std::shared_ptr< Solver > | get (std::shared_ptr< Operator > op, const ParameterTree &config, std::shared_ptr< Preconditioner > prec=nullptr) |
get a solver from the factory More... | |
static std::shared_ptr< Preconditioner > | getPreconditioner (std::shared_ptr< Operator > op, const ParameterTree &config) |
Construct a Preconditioner for a given Operator. More... | |
Factory to assembly solvers configured by a ParameterTree
.
Example ini File that can be passed in to construct a CGSolver with a SSOR preconditioner:
type = cgsolver verbose = 1 maxit = 1000 reduction = 1e-5 [preconditioner] type = ssor iterations = 1 relaxation = 1
Operator | type of the operator, necessary to deduce the matrix type etc. |
|
inlinestatic |
get a solver from the factory
|
inlinestatic |
Construct a Preconditioner for a given Operator.