]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix forgotten changes from MG revamp.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 24 Nov 1999 18:27:29 +0000 (18:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 24 Nov 1999 18:27:29 +0000 (18:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@1943 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/mgbase.cc

index 662a191f779f1cd23314e6c5d0fde827bea5eb6d..984437ea8f44204187bfac94f0373b3a47c1d164 100644 (file)
@@ -15,9 +15,9 @@ class TransferTest
     virtual void prolongate(unsigned l,
                            Vector<double>& dst,
                            const Vector<double>& src) const;
-    virtual void restrict(unsigned l,
-                         Vector<double>& dst,
-                         const Vector<double>& src) const;
+    virtual void restrict_and_add (unsigned l,
+                                  Vector<double>& dst,
+                                  const Vector<double>& src) const;
     friend class MGBase;
 };
 
@@ -57,15 +57,15 @@ class MGTest
       {
        for (unsigned int l = minlevel; l <= maxlevel; ++l)
          {
-           d[l].reinit(1);
-           s[l].reinit(1);
+           defect[l].reinit(1);
+           solution[l].reinit(1);
          }
       }
     
     virtual void level_vmult(unsigned level,
-                               Vector<double>& dst,
-                               const Vector<double>& src,
-                               const Vector<double>& rhs);
+                            Vector<double>& dst,
+                            const Vector<double>& src,
+                            const Vector<double>& rhs);
     
     void doit()
       {
@@ -97,9 +97,9 @@ TransferTest::prolongate(unsigned l,
 }
 
 void
-TransferTest::restrict(unsigned l,
-                      Vector<double>&,
-                      const Vector<double>&) const
+TransferTest::restrict_and_add (unsigned l,
+                               Vector<double>&,
+                               const Vector<double>&) const
 {
   deallog << "Restricting  " << l << " to " << l-1 << endl;
 }

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.