From 4d25738a701161c35e8c095f3d78b4aeb063f8ee Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sun, 6 Jul 2014 00:30:15 +0200 Subject: [PATCH] [Cleanup] Kill an unused parameter --- dune/tectonic/myblockproblem.hh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh index 177c6fba..1b28db48 100644 --- a/dune/tectonic/myblockproblem.hh +++ b/dune/tectonic/myblockproblem.hh @@ -58,7 +58,6 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> { MyBlockProblem(Dune::ParameterTree const &parset, ConvexProblem &problem) : BNGSP(parset, problem), maxEigenvalues_(problem.f.size()), - parset_(parset), localBisection(0.0, 1.0, 0.0, true, 0.0) { for (size_t i = 0; i < problem.f.size(); ++i) { LocalVectorType eigenvalues; @@ -196,14 +195,12 @@ class MyBlockProblem : /* NOT PUBLIC */ BlockNonlinearGSProblem<ConvexProblem> { /** \brief Constructs and returns an iterate object */ IterateObject getIterateObject() { - return IterateObject(parset_, localBisection, problem_, maxEigenvalues_); + return IterateObject(localBisection, problem_, maxEigenvalues_); } private: std::vector<double> maxEigenvalues_; - Dune::ParameterTree const &parset_; - // problem data using BNGSP::problem_; @@ -222,8 +219,7 @@ class MyBlockProblem<ConvexProblem>::IterateObject { * \param bisection The class used to do a scalar bisection * \param problem The problem including quadratic part and nonlinear part */ - IterateObject(Dune::ParameterTree const &parset, Bisection const &bisection, - ConvexProblem const &problem, + IterateObject(Bisection const &bisection, ConvexProblem const &problem, std::vector<double> const &maxEigenvalues) : problem(problem), maxEigenvalues_(maxEigenvalues), -- GitLab