From d2b208e0def4828e531f34908fabe3d46e963197 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 9 Jan 2012 15:58:45 +0100
Subject: [PATCH] Expose acceptFactor

---
 dune/tectonic/myblockproblem.hh | 2 +-
 src/one-body-sample.parset      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh
index de1d5130..1f569b48 100644
--- a/dune/tectonic/myblockproblem.hh
+++ b/dune/tectonic/myblockproblem.hh
@@ -70,7 +70,7 @@ template <class MyConvexProblemTypeTEMPLATE> class MyBlockProblem {
     bisection = Bisection(
         0.0, // acceptError: Stop if the search interval has
              // become smaller than this number
-        1.0, // acceptFactor: ?
+        parset.get<double>("bisection.acceptFactor"),
         parset.get<double>("bisection.requiredResidual"), true, // fastQuadratic
         0); // safety: acceptance factor for inexact minimization
   }
diff --git a/src/one-body-sample.parset b/src/one-body-sample.parset
index 14885fb9..7a516d95 100644
--- a/src/one-body-sample.parset
+++ b/src/one-body-sample.parset
@@ -61,6 +61,7 @@ nu2 = 1
 steps = 1
 
 [bisection]
+acceptFactor = 1.0
 requiredResidual = 1e-12
 
 [boundary.friction]
-- 
GitLab