Skip to content
Snippets Groups Projects
Commit 8caffef9 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Export type of vector and pointer to vector

parent 6087f6d4
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ template<class VectorType, class BitVectorType = Dune::BitSetVector<VectorType::
class IterationStep : virtual public NumProc, public CanIgnore<BitVectorType>
{
public:
typedef VectorType Vector;
typedef BitVectorType BitVector;
//! Default constructor
IterationStep()
......@@ -39,6 +41,18 @@ class IterationStep : virtual public NumProc, public CanIgnore<BitVectorType>
//! Do the actual iteration
virtual void iterate() = 0;
//! Access the stored pointer to iterate
virtual const Vector* getIterate() const
{
return x_;
}
//! Access the stored pointer to iterate
virtual Vector* getIterate()
{
return x_;
}
//! Return solution object
virtual VectorType getSol() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment