From 558f284b9c5b824f2ef2c4cf8a60d41d07cf156a Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 4 Mar 2008 17:51:15 +0000 Subject: [PATCH] replace contact mmg solver with general purpose mmg solver [[Imported from SVN: r2023]] --- src/rodsolver.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rodsolver.cc b/src/rodsolver.cc index dace1c50..7734c1b0 100644 --- a/src/rodsolver.cc +++ b/src/rodsolver.cc @@ -7,9 +7,7 @@ #include <dune/disc/operators/p1operator.hh> #include <dune/ag-common/trustregiongsstep.hh> -/** \todo Don't hardwire the absolute path here! */ -#include "/home/haile/sander/dune/contact/src/contactmmgstep.hh" - +#include <dune/ag-common/mmgstep.hh> #include <dune/ag-common/iterativesolver.hh> #include <dune/ag-common/energynorm.hh> @@ -116,7 +114,7 @@ void RodSolver<GridType>::setup(const GridType& grid, TrustRegionGSStep<MatrixType, CorrectionType>* presmoother = new TrustRegionGSStep<MatrixType, CorrectionType>; TrustRegionGSStep<MatrixType, CorrectionType>* postsmoother = new TrustRegionGSStep<MatrixType, CorrectionType>; - ContactMMGStep<MatrixType, CorrectionType>* mmgStep = new ContactMMGStep<MatrixType, CorrectionType>(numLevels); + MonotoneMGStep<MatrixType, CorrectionType>* mmgStep = new MonotoneMGStep<MatrixType, CorrectionType>(numLevels); mmgStep->setMGType(mu_, nu1_, nu2_); mmgStep->dirichletNodes_ = &dirichletNodes_; -- GitLab