From 9fd8804c9297781191ecc0a46502484122378842 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 11 Aug 2011 12:44:25 +0000
Subject: [PATCH] adapt to recent changes in BoundaryPatch

[[Imported from SVN: r7571]]
---
 harmonicmaps-eoc.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc
index e6b2c8db..761d5fc1 100644
--- a/harmonicmaps-eoc.cc
+++ b/harmonicmaps-eoc.cc
@@ -14,6 +14,7 @@
 #include <dune/grid/io/file/amirameshreader.hh>
 
 #include <dune/fufem/functionspacebases/p1nodalbasis.hh>
+#include <dune/fufem/boundarypatch.hh>
 #include <dune/fufem/assemblers/operatorassembler.hh>
 #include <dune/fufem/assemblers/localassemblers/laplaceassembler.hh>
 #include <dune/fufem/assemblers/localassemblers/massassembler.hh>
@@ -57,7 +58,7 @@ void solve (const shared_ptr<GridType>& grid,
 
     BitSetVector<1> allNodes(grid->size(dim));
     allNodes.setAll();
-    BoundaryPatch<GridType::LeafGridView> dirichletBoundary(grid->leafView(), allNodes);
+    BoundaryPatch<typename GridType::LeafGridView> dirichletBoundary(grid->leafView(), allNodes);
 
     BitSetVector<blocksize> dirichletNodes(grid->size(dim));
     for (int i=0; i<dirichletNodes.size(); i++)
-- 
GitLab