Skip to content
Snippets Groups Projects

add functionality to remove an added marker

Merged Praetorius, Simon requested to merge issue/remove_marker into master
+ 4
3
@@ -361,7 +361,8 @@ namespace AMDiS
linearSolver_ = solver;
}
/// Wrap the solver into a non-destroying shared_ptr, or move it into a new shared_ptr
/// Wrap the solver reference into a non-destroying shared_ptr, or move it
/// into a new shared_ptr if it is a temporary.
template <class S,
REQUIRES(std::is_base_of<LinearSolverType, remove_cvref_t<S>>::value)>
void setSolver(S&& solver)
@@ -399,8 +400,8 @@ namespace AMDiS
it.first->second->setMaximumMarking(true);
}
/// Wrap the reference into a non-destroying shared_ptr or move it into a new shared_ptr and
/// store it in the problemand store in the problem
/// Wrap the reference into a non-destroying shared_ptr or move it into a
/// new shared_ptr if it is a temporary.
template <class M,
REQUIRES(std::is_base_of<Marker<Grid>, remove_cvref_t<M>>::value)>
void addMarker(M&& marker)
Loading