Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
0df61ec8
Commit
0df61ec8
authored
Mar 12, 2019
by
Praetorius, Simon
Browse files
removed mutable old-solution from ProblemInstat
parent
4f88335b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/ProblemInstat.hpp
View file @
0df61ec8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment