Commit 67e47bc7 authored by Praetorius, Simon's avatar Praetorius, Simon

constness of some functions added

parent fc199ebe
...@@ -280,12 +280,22 @@ namespace AMDiS { ...@@ -280,12 +280,22 @@ namespace AMDiS {
{ {
return solution; return solution;
} }
inline SystemVector const* getSolution() const
{
return solution;
}
inline DOFVector<double>* getSolution(int i) inline DOFVector<double>* getSolution(int i)
{ {
return solution->getDOFVector(i); return solution->getDOFVector(i);
} }
inline DOFVector<double> const* getSolution(int i) const
{
return solution->getDOFVector(i);
}
/// Returns \ref rhs. /// Returns \ref rhs.
inline SystemVector* getRhs() inline SystemVector* getRhs()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment