precond.hpp
Go to the documentation of this file.
virtual void construct(const CRowMatrix &A)=0
Construct preconditioner for matrix A.
virtual std::string typestring(void) const =0
Return string indicating type of preconditioner.
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....
virtual void prepare(const CRowMatrix &A)=0
Prepare preconditioner for matrices with non-zero pattern equal to A.
Compressed row sparse matrix algebra.
N-dimensional vector.