From 33890707302566180360d2e2471ef1e75ae14b80 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 19 Nov 1999 14:27:39 +0000 Subject: [PATCH] Doc update. git-svn-id: https://svn.dealii.org/trunk@1898 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/multigrid/mg_base.h | 18 ++++++++++++++---- deal.II/lac/include/lac/mgbase.h | 18 ++++++++++++++---- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/mg_base.h b/deal.II/deal.II/include/multigrid/mg_base.h index 4214e4269b..90dd2b78c1 100644 --- a/deal.II/deal.II/include/multigrid/mg_base.h +++ b/deal.II/deal.II/include/multigrid/mg_base.h @@ -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 &dst, - const Vector &src) const = 0; + virtual void restrict_and_add (const unsigned int from_level, + Vector &dst, + const Vector &src) const = 0; }; diff --git a/deal.II/lac/include/lac/mgbase.h b/deal.II/lac/include/lac/mgbase.h index 9456174df4..2c87b6e23c 100644 --- a/deal.II/lac/include/lac/mgbase.h +++ b/deal.II/lac/include/lac/mgbase.h @@ -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 &dst, - const Vector &src) const = 0; + virtual void restrict_and_add (const unsigned int from_level, + Vector &dst, + const Vector &src) const = 0; }; -- 2.39.5