Skip to content
Snippets Groups Projects
Commit d158f544 authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

generically implement the getSol() method

[[Imported from SVN: r7375]]
parent e18fbe4d
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,10 @@ public:
virtual void iterate() = 0;
//! Return solution object
virtual VectorType getSol() = 0;
virtual VectorType getSol()
{
return *(this->x_);
}
//! Return linear operator
virtual const MatrixType* getMatrix() {return mat_.get();}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment