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