From 6319b0632e3a2e062aadd7b121aa2bbc36cf56a4 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 4 Feb 2010 17:27:56 +0000
Subject: [PATCH] tear out dune-disc function transfer code.  No replacement
 yet, though

[[Imported from SVN: r5477]]
---
 rodobstacle.cc | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/rodobstacle.cc b/rodobstacle.cc
index 397b78b0..9d1fe48e 100644
--- a/rodobstacle.cc
+++ b/rodobstacle.cc
@@ -7,8 +7,6 @@
 
 #include <dune/istl/io.hh>
 
-#include <dune/disc/operators/p1operator.hh>
-
 #include <dune/solvers/iterationsteps/projectedblockgsstep.hh>
 #include <dune/solvers/iterationsteps/mmgstep.hh>
 #include <dune/solvers/solvers/loopsolver.hh>
@@ -334,18 +332,9 @@ int main (int argc, char *argv[]) try
         
         estimator.estimate(grid, (toplevel<=minLevel) ? refineAll : refineCondition);
 
-        P1FunctionManager<GridType,double> functionManager(grid);
-        LeafP1Function<GridType,double,blocksize> sol(grid);
-        *sol = x;
-
-        grid.preAdapt();
-        sol.preAdapt();
+        std::cout << "  #### WARNING: function not transferred to the next level! #### " << std::endl;
         grid.adapt();
-
-        sol.postAdapt(functionManager);
-        grid.postAdapt();
-
-        x = *sol;
+        x.resize(grid.size(1));
 
         //writeRod(x, "solutions/rod_1.result");
     }
-- 
GitLab