Wrapper class for different MTL4 itl-solvers. These solvers are parametrized by Matrix and Vector. More...
#include <KrylovRunner.hpp>
Inherits LinearSolverInterface< M, X, Y >.
Classes | |
struct | Creator |
Public Member Functions | |
KrylovRunner (std::string const &prefix) | |
Constructor. | |
void | init (M const &A) override |
Implementation of LinearSolverInterface::init() More... | |
void | finish () override |
Implementation of LinearSolverInterface::finish() More... | |
void | apply (X &x, Y const &b, Dune::InverseOperatorResult &stat) override |
Implementation of LinearSolverInterface::apply() More... | |
virtual void | init (M const &A)=0 |
Prepare the solve (and preconditioner), e.g. make a factorization of the matrix, or extract its diagonal in a jacobian precon. More... | |
virtual void | finish ()=0 |
Cleanup the solver, e.g. free the previously created factorization. More... | |
virtual void | apply (X &x, Y const &b, Dune::InverseOperatorResult &res)=0 |
Apply the inverse operator to the rhs vector b. More... | |
Protected Member Functions | |
void | createPrecon (std::string const &prefix) |
Create left/right preconditioners from parameters given in the init-file. | |
Wrapper class for different MTL4 itl-solvers. These solvers are parametrized by Matrix and Vector.
|
inlineoverridevirtual |
Implementation of LinearSolverInterface::apply()
Implements LinearSolverInterface< M, X, Y >.
References Environment::infoLevel().
|
inlineoverridevirtual |
Implementation of LinearSolverInterface::finish()
Implements LinearSolverInterface< M, X, Y >.
|
inlineoverridevirtual |
Implementation of LinearSolverInterface::init()
Implements LinearSolverInterface< M, X, Y >.