From f1bd6f2b9e48d35228c2a9a90b3bc4ec5354adaa Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Fri, 4 Nov 2011 16:11:07 +0100 Subject: [PATCH] Add comments to bisection initialisation --- dune/tectonic/myblockproblem.hh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh index 0cca1487..a3cc1706 100644 --- a/dune/tectonic/myblockproblem.hh +++ b/dune/tectonic/myblockproblem.hh @@ -29,8 +29,14 @@ template <class MyConvexProblemTypeTEMPLATE> class MyBlockProblem { class IterateObject; MyBlockProblem(MyConvexProblemType &problem) : problem(problem) { - bisection = Bisection(0.0, 1.0, 1e-12, true, 0); - }; + bisection = + Bisection(0.0, // acceptError: Stop if the search interval has + // become smaller than this number + 1.0, // acceptFactor: ? + 1e-12, // requiredResidual: ? + true, // fastQuadratic + 0); // safety: acceptance factor for inexact minimization + } /** \brief Constructs and returns an iterate object */ IterateObject getIterateObject() { return IterateObject(bisection, problem); } -- GitLab