Commit 0df61ec8 authored by Praetorius, Simon's avatar Praetorius, Simon

removed mutable old-solution from ProblemInstat

parent 4f88335b
Pipeline #1799 passed with stage
in 26 minutes and 2 seconds
......@@ -53,14 +53,6 @@ namespace AMDiS
ProblemType& problemStat() { return *problemStat_; }
ProblemType const& problemStat() const { return *problemStat_; }
/// Returns mutable-ref of \ref oldSolution.
SystemVector& oldSolutionVector()
{
test_exit_dbg(bool(oldSolution_),
"OldSolution need to be created. Call initialize with INIT_UH_OLD.");
return *oldSolution_;
}
/// Returns const-ref of \ref oldSolution.
SystemVector const& oldSolutionVector() const
{
......@@ -69,14 +61,6 @@ namespace AMDiS
return *oldSolution_;
}
/// Return a mutable view to a oldSolution component
template <class TreePath = RootTreePath>
auto oldSolution(TreePath path = {})
{
auto&& tp = makeTreePath(path);
return makeDOFVectorView(oldSolutionVector(), tp);
}
/// Return a const view to a oldSolution component
template <class TreePath = RootTreePath>
auto oldSolution(TreePath path = {}) const
......
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