From 400aead810c7a6b040d8ace5cf811a859662f157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20M=C3=BCller?= <felix.mueller2@mailbox.tu-dresden.de>
Date: Fri, 23 Mar 2018 15:16:55 +0100
Subject: [PATCH] removed unsupported Refine/CoarsenBisections, DUNE only
 supports single refinement/coarsen steps

---
 src/amdis/AdaptInfo.cpp |  2 --
 src/amdis/AdaptInfo.hpp | 26 --------------------------
 2 files changed, 28 deletions(-)

diff --git a/src/amdis/AdaptInfo.cpp b/src/amdis/AdaptInfo.cpp
index 59ea59c7..88367d9e 100644
--- a/src/amdis/AdaptInfo.cpp
+++ b/src/amdis/AdaptInfo.cpp
@@ -16,8 +16,6 @@ namespace AMDiS
     Parameters::get(prefix + "->time relative tolerance", timeRelativeTolerance);
     Parameters::get(prefix + "->coarsen allowed", coarsenAllowed);
     Parameters::get(prefix + "->refinement allowed", refinementAllowed);
-    Parameters::get(prefix + "->refine bisections", refineBisections);
-    Parameters::get(prefix + "->coarsen bisections", coarseBisections);
     Parameters::get(prefix + "->sum factor", fac_sum);
     Parameters::get(prefix + "->max factor", fac_max);
 
diff --git a/src/amdis/AdaptInfo.hpp b/src/amdis/AdaptInfo.hpp
index 881de9a1..3e12a886 100644
--- a/src/amdis/AdaptInfo.hpp
+++ b/src/amdis/AdaptInfo.hpp
@@ -69,20 +69,6 @@ namespace AMDiS
 
       /// true if refinement is allowed, false otherwise.
       int refinementAllowed = 1;
-
-      /** \brief
-       * parameter to tell the marking strategy how many bisections should be
-       * performed when an element is marked for refinement; usually the value is
-       * 1 or DIM
-       */
-      int refineBisections = 1;
-
-      /** \brief
-       * parameter to tell the marking strategy how many bisections should
-       * be undone when an element is marked for coarsening; usually the value is
-       * 1 or DIM
-       */
-      int coarseBisections = 1;
     };
 
   public:
@@ -519,18 +505,6 @@ namespace AMDiS
       scalContents.at(key)->coarsenAllowed = allow;
     }
 
-    /// Returns \ref refineBisections
-    int getRefineBisections(int index) const
-    {
-      return scalContents[index]->refineBisections;
-    }
-
-    /// Returns \ref coarseBisections
-    int getCoarseBisections(int index) const
-    {
-      return scalContents[index]->coarseBisections;
-    }
-
     int getSize() const
     {
       return int(scalContents.size());
-- 
GitLab