Abstract base preconditioner class. More...
#include <precond.hpp>
Public Member Functions | |
virtual | ~Precond () |
Virtual destructor. | |
virtual void | solve (Vector &x, const Vector &b) const =0 |
Solve M* x = b and return x. Here M is a preconditioner matrix built for matrix A. See implementations of Precond for more information. |
Abstract base preconditioner class.
virtual Precond::~Precond | ( | ) | [inline, virtual] |
Virtual destructor.
virtual void Precond::solve | ( | Vector & | x, |
const Vector & | b | ||
) | const [pure virtual] |
Solve M* x = b and return x. Here M is a preconditioner matrix built for matrix A. See implementations of Precond for more information.
Implemented in ILU0_Precond, Diag_Precond, and Empty_Precond.