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

[[Imported from SVN: r7569]]
---
 dirneucoupling.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dirneucoupling.cc b/dirneucoupling.cc
index 4cdcb90a..a6bca1bb 100644
--- a/dirneucoupling.cc
+++ b/dirneucoupling.cc
@@ -201,7 +201,7 @@ int main (int argc, char *argv[]) try
 
     } 
 
-    complex.rods_["rod"].dirichletBoundary_.setup(*complex.rods_["rod"].grid_,rodDNodes);
+    complex.rods_["rod"].dirichletBoundary_.setup(complex.rods_["rod"].grid_->leafView(),rodDNodes);
 
     // Backup initial rod iterate for later reference
     RodSolutionType initialIterateRod = rodX;
@@ -244,7 +244,7 @@ int main (int argc, char *argv[]) try
     } else
         rodCouplingBitfield.back() = true;
 
-    complex.couplings_[interfaceName].rodInterfaceBoundary_.setup(*complex.rods_["rod"].grid_, rodCouplingBitfield);
+    complex.couplings_[interfaceName].rodInterfaceBoundary_.setup(complex.rods_["rod"].grid_->leafView(), rodCouplingBitfield);
 
     // then for the continuum
     LevelBoundaryPatch coarseInterfaceBoundary(complex.continua_["continuum"].grid_->levelView(0));
-- 
GitLab