]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Doc update.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 14:27:39 +0000 (14:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 14:27:39 +0000 (14:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@1898 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_base.h
deal.II/lac/include/lac/mgbase.h

index 4214e4269b9a33bfe811941a8f855a6db19fc4be..90dd2b78c104f13b30db1644b5e600e799d23f55 100644 (file)
@@ -156,7 +156,17 @@ class MGTransferBase : public Subscriptor
                                     /**
                                      * Restrict a vector from level
                                      * #from_level# to level
-                                     * #from_level-1#.
+                                     * #from_level-1# and add this
+                                     * restriction to
+                                     * #dst#. Obviously, if the
+                                     * refined region on level
+                                     * #from_level# is smaller than
+                                     * that on level #from_level-1#,
+                                     * some degrees of freedom in
+                                     * #dst# are not covered and will
+                                     * not be altered. For the other
+                                     * degress of freedom, the result
+                                     * of the restriction is added.
                                      *
                                      * #src# is assumed to be a vector with
                                      * as many elements as there are degrees
@@ -166,9 +176,9 @@ class MGTransferBase : public Subscriptor
                                      * are degrees of freedom on the coarser
                                      * level.
                                      */
-    virtual void restrict (const unsigned int    from_level,
-                          Vector<double>       &dst,
-                          const Vector<double> &src) const = 0;
+    virtual void restrict_and_add (const unsigned int    from_level,
+                                  Vector<double>       &dst,
+                                  const Vector<double> &src) const = 0;
 };
 
 
index 9456174df4d5552d83484f370441ffa0a1ea6ea4..2c87b6e23c3690a94544be64a1027b2a383ef855 100644 (file)
@@ -156,7 +156,17 @@ class MGTransferBase : public Subscriptor
                                     /**
                                      * Restrict a vector from level
                                      * #from_level# to level
-                                     * #from_level-1#.
+                                     * #from_level-1# and add this
+                                     * restriction to
+                                     * #dst#. Obviously, if the
+                                     * refined region on level
+                                     * #from_level# is smaller than
+                                     * that on level #from_level-1#,
+                                     * some degrees of freedom in
+                                     * #dst# are not covered and will
+                                     * not be altered. For the other
+                                     * degress of freedom, the result
+                                     * of the restriction is added.
                                      *
                                      * #src# is assumed to be a vector with
                                      * as many elements as there are degrees
@@ -166,9 +176,9 @@ class MGTransferBase : public Subscriptor
                                      * are degrees of freedom on the coarser
                                      * level.
                                      */
-    virtual void restrict (const unsigned int    from_level,
-                          Vector<double>       &dst,
-                          const Vector<double> &src) const = 0;
+    virtual void restrict_and_add (const unsigned int    from_level,
+                                  Vector<double>       &dst,
+                                  const Vector<double> &src) const = 0;
 };
 
 

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.