]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Sorry, forgot to change MGPerLevelObject to MGLevelObject, in accordance with the...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Feb 2000 09:50:20 +0000 (09:50 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Feb 2000 09:50:20 +0000 (09:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@2357 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/mg.cc

index a5f39f05383081118a730cb4784c7998420cf1e5..dc27e69805d7130bd99c324c95e6ba910fc0af7f 100644 (file)
@@ -46,9 +46,9 @@ class FDMG
                                     /**
                                      * Pointer to the level matrices.
                                      */
-    SmartPointer<MGPerLevelObject<SparseMatrix<double> > >matrices;
+    SmartPointer<MGLevelObject<SparseMatrix<double> > >matrices;
   public:
-    FDMG(unsigned int maxlevel, MGPerLevelObject<SparseMatrix<double> >& matrices,
+    FDMG(unsigned int maxlevel, MGLevelObject<SparseMatrix<double> >& matrices,
         FDMGTransfer& transfer);
     
     
@@ -66,9 +66,9 @@ class MGSmootherLAC
   public MGSmootherBase
 {
   private:
-    SmartPointer<MGPerLevelObject<SparseMatrix<double> > >matrices;
+    SmartPointer<MGLevelObject<SparseMatrix<double> > >matrices;
   public:
-    MGSmootherLAC(MGPerLevelObject<SparseMatrix<double> >&);
+    MGSmootherLAC(MGLevelObject<SparseMatrix<double> >&);
     
     virtual void smooth (const unsigned int level,
                         Vector<double> &u,
@@ -115,7 +115,7 @@ int main()
 
                                       // Make matrix
       vector<SparsityPattern>  structure(maxlevel+1);
-      MGPerLevelObject<SparseMatrix<double> > A(minlevel,maxlevel);
+      MGLevelObject<SparseMatrix<double> > A(minlevel,maxlevel);
 
       FDMatrix testproblem(size, size);
 
@@ -159,7 +159,7 @@ int main()
     }
 }
 
-FDMG::FDMG(unsigned int maxlevel, MGPerLevelObject<SparseMatrix<double> >& matrices,
+FDMG::FDMG(unsigned int maxlevel, MGLevelObject<SparseMatrix<double> >& matrices,
           FDMGTransfer& transfer)
                :
                MGBase(transfer, 0, maxlevel),
@@ -195,7 +195,7 @@ FDMG::copy_from_mg(Vector<TYPE>& v)
 }
 
 
-MGSmootherLAC::MGSmootherLAC(MGPerLevelObject<SparseMatrix<double> >& matrix)
+MGSmootherLAC::MGSmootherLAC(MGLevelObject<SparseMatrix<double> >& matrix)
                :
                matrices(&matrix)
 {}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.