Interface for Preconditioner y = M*x. More...
#include <PreconditionerInterface.hpp>
Inherited by Preconditioner< M, X, Y, PreconImpl >, and SolverPrecon< M, X, Y >.
Public Member Functions | |
virtual | ~PreconditionerInterface ()=default |
Virtual destructor. | |
virtual void | init (M const &A)=0 |
Is called a the beginning of a solution procedure. More... | |
virtual void | finish ()=0 |
Is called at the end of a solution procedure. More... | |
virtual void | solve (X const &x, Y &y) const =0 |
Apply the preconditioner to a vector x and store the result in y . More... | |
virtual void | adjoint_solve (X const &x, Y &y) const |
Apply the transposed preconditioner to a vector x and store the result in y . More... | |
Interface for Preconditioner y = M*x.
|
inlinevirtual |
Apply the transposed preconditioner to a vector x
and store the result in y
.
Reimplemented in Preconditioner< M, X, Y, PreconImpl >, and SolverPrecon< M, X, Y >.
|
pure virtual |
Is called at the end of a solution procedure.
Implemented in Preconditioner< M, X, Y, PreconImpl >, and SolverPrecon< M, X, Y >.
|
pure virtual |
Is called a the beginning of a solution procedure.
Implemented in Preconditioner< M, X, Y, PreconImpl >, and SolverPrecon< M, X, Y >.
|
pure virtual |
Apply the preconditioner to a vector x
and store the result in y
.
Implemented in Preconditioner< M, X, Y, PreconImpl >, and SolverPrecon< M, X, Y >.