From 6676dbba3b2369cb976147a53c3bac6683903bd8 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 10 Feb 2000 09:50:20 +0000 Subject: [PATCH] Sorry, forgot to change MGPerLevelObject to MGLevelObject, in accordance with the library. git-svn-id: https://svn.dealii.org/trunk@2357 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/mg.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/lac/mg.cc b/tests/lac/mg.cc index a5f39f0538..dc27e69805 100644 --- a/tests/lac/mg.cc +++ b/tests/lac/mg.cc @@ -46,9 +46,9 @@ class FDMG /** * Pointer to the level matrices. */ - SmartPointer > >matrices; + SmartPointer > >matrices; public: - FDMG(unsigned int maxlevel, MGPerLevelObject >& matrices, + FDMG(unsigned int maxlevel, MGLevelObject >& matrices, FDMGTransfer& transfer); @@ -66,9 +66,9 @@ class MGSmootherLAC public MGSmootherBase { private: - SmartPointer > >matrices; + SmartPointer > >matrices; public: - MGSmootherLAC(MGPerLevelObject >&); + MGSmootherLAC(MGLevelObject >&); virtual void smooth (const unsigned int level, Vector &u, @@ -115,7 +115,7 @@ int main() // Make matrix vector structure(maxlevel+1); - MGPerLevelObject > A(minlevel,maxlevel); + MGLevelObject > A(minlevel,maxlevel); FDMatrix testproblem(size, size); @@ -159,7 +159,7 @@ int main() } } -FDMG::FDMG(unsigned int maxlevel, MGPerLevelObject >& matrices, +FDMG::FDMG(unsigned int maxlevel, MGLevelObject >& matrices, FDMGTransfer& transfer) : MGBase(transfer, 0, maxlevel), @@ -195,7 +195,7 @@ FDMG::copy_from_mg(Vector& v) } -MGSmootherLAC::MGSmootherLAC(MGPerLevelObject >& matrix) +MGSmootherLAC::MGSmootherLAC(MGLevelObject >& matrix) : matrices(&matrix) {} -- 2.39.5