From f8bf4803044d8ed19d10577b375a2b75c6e8543d Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 19 Oct 2009 16:25:08 +0000
Subject: [PATCH] set multigrid smoothers using the appropriate method

[[Imported from SVN: r5064]]
---
 neudircoupling.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/neudircoupling.cc b/neudircoupling.cc
index 4f6c5100..068e138b 100644
--- a/neudircoupling.cc
+++ b/neudircoupling.cc
@@ -98,7 +98,7 @@ int main (int argc, char *argv[]) try
     double rodE   = parameterSet.get<double>("rodE");
     double rodNu  = parameterSet.get<double>("rodNu");
 
-    std::tr1::array<FieldVector<double,3>,2> rodRestEndPoint;
+    Dune::array<FieldVector<double,3>,2> rodRestEndPoint;
     rodRestEndPoint[0][0] = parameterSet.get<double>("rodRestEndPoint0X");
     rodRestEndPoint[0][1] = parameterSet.get<double>("rodRestEndPoint0Y");
     rodRestEndPoint[0][2] = parameterSet.get<double>("rodRestEndPoint0Z");
@@ -297,8 +297,7 @@ int main (int argc, char *argv[]) try
     multigridStep.setMGType(mu, nu1, nu2);
     multigridStep.ignoreNodes_       = &dirichletNodes;
     multigridStep.basesolver_        = &baseSolver;
-    multigridStep.presmoother_       = &presmoother;
-    multigridStep.postsmoother_      = &postsmoother;    
+    multigridStep.setSmoother(&presmoother, &postsmoother);
     multigridStep.verbosity_         = Solver::QUIET;
 
 
-- 
GitLab