diff --git a/AMDiS/src/ProblemStat.h b/AMDiS/src/ProblemStat.h index 1b962d1a1fc5771e1ee4dd83f4b81f9e8bdf983a..dffaa5024732bc1d96ab6756ea22b2e9b80ca7fa 100644 --- a/AMDiS/src/ProblemStat.h +++ b/AMDiS/src/ProblemStat.h @@ -280,12 +280,22 @@ namespace AMDiS { { return solution; } + + inline SystemVector const* getSolution() const + { + return solution; + } inline DOFVector* getSolution(int i) { return solution->getDOFVector(i); } + inline DOFVector const* getSolution(int i) const + { + return solution->getDOFVector(i); + } + /// Returns \ref rhs. inline SystemVector* getRhs() {