]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document the extra argument.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Aug 2007 22:40:04 +0000 (22:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Aug 2007 22:40:04 +0000 (22:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@14914 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_tools.h

index 51048a1c0915b32de9feb195a6cadcfc7e24f521..57f31bde62426171c9a3ab816a8e72681810cfff 100644 (file)
@@ -364,16 +364,6 @@ class DoFTools
                                      * resulting sparsity pattern is
                                      * symmetric.
                                      *
-                                     * Since this process is purely
-                                     * local, the sparsity pattern
-                                     * does not provide for entries
-                                     * introduced by the elimination
-                                     * of hanging nodes.  They have
-                                     * to be taken care of by a call
-                                     * to
-                                     * ConstraintMatrix::condense()
-                                     * afterwards.
-                                     *
                                      * Remember using
                                      * SparsityPattern::compress()
                                      * after generating the pattern.
@@ -399,6 +389,24 @@ class DoFTools
                                      * content of the object, that is
                                      * previously added entries are
                                      * not deleted.
+                                     *
+                                     * Since this process is purely local,
+                                     * the sparsity pattern does not provide
+                                     * for entries introduced by the
+                                     * elimination of hanging nodes. They
+                                     * have to be taken care of by a call to
+                                     * ConstraintMatrix::condense()
+                                     * afterwards.
+                                     *
+                                     * Alternatively, the constraints on
+                                     * degrees of freedom can already be
+                                     * taken into account at the time of
+                                     * creating the sparsity pattern. For
+                                     * this, pass the ConstraintMatrix object
+                                     * as the last argument to the current
+                                     * function. No call to
+                                     * ConstraintMatrix::condense() is then
+                                     * necessary.
                                      */
     template <class DH, class SparsityPattern>
     static

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.