]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a comment.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Apr 2005 21:19:23 +0000 (21:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Apr 2005 21:19:23 +0000 (21:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@10451 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_constraints.templates.h

index 71ff690cfdcc56785e4c6a96955ad1a2fecf635d..c36c1c35730a4ca441a7056381d20a946cde2d97 100644 (file)
@@ -797,6 +797,44 @@ distribute_local_to_global (const FullMatrix<double>        &local_matrix,
                                                    // same order of magnitude
                                                    // as the other elements of
                                                    // the matrix
+                                                  //
+                                                  // note that this
+                                                  // also captures
+                                                  // the special case
+                                                  // that a dof is
+                                                  // both constrained
+                                                  // and fixed (this
+                                                  // can happen for
+                                                  // hanging nodes in
+                                                  // 3d that also
+                                                  // happen to be on
+                                                  // the
+                                                  // boundary). in
+                                                  // that case,
+                                                  // following the
+                                                  // above program
+                                                  // flow, it is
+                                                  // realized that
+                                                  // when
+                                                  // distributing the
+                                                  // row and column
+                                                  // no elements of
+                                                  // the matrix are
+                                                  // actually touched
+                                                  // if all the
+                                                  // degrees of
+                                                  // freedom to which
+                                                  // this dof is
+                                                  // constrained are
+                                                  // also constrained
+                                                  // (the usual case
+                                                  // with hanging
+                                                  // nodes in
+                                                  // 3d). however, in
+                                                  // the line below,
+                                                  // we do actually
+                                                  // do something
+                                                  // with this dof
                   if (i == j)
                     global_matrix.add (local_dof_indices[i],
                                        local_dof_indices[i],

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.