From 50367200e26239eaa3b60af8db63a0a1e08efd1f Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 9 Jan 2012 17:14:02 +0100
Subject: [PATCH] Reduce truncation radius

---
 dune/tectonic/localnonlinearity.hh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dune/tectonic/localnonlinearity.hh b/dune/tectonic/localnonlinearity.hh
index 339959ef..fcf0d7b1 100644
--- a/dune/tectonic/localnonlinearity.hh
+++ b/dune/tectonic/localnonlinearity.hh
@@ -27,7 +27,9 @@ template <int dimension> class LocalNonlinearity {
   }
 
   double regularity(VectorType const &x) const {
-    if (!func_->smoothesNorm() && x.two_norm() < 1e-12) // TODO
+    if (!func_->smoothesNorm() && x.two_norm() < 1e-14) // TODO: Make this
+                                                        // controllable
+                                                        // (truncationRadius?)
       return std::numeric_limits<double>::infinity();
 
     return func_->regularity(x.two_norm());
-- 
GitLab