From: wolf Date: Fri, 8 Apr 2005 21:19:23 +0000 (+0000) Subject: Add a comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a595a6e59a3b13ae22b2f464b1e5c61e1f71f48f;p=dealii-svn.git Add a comment. git-svn-id: https://svn.dealii.org/trunk@10451 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/dofs/dof_constraints.templates.h b/deal.II/deal.II/include/dofs/dof_constraints.templates.h index 71ff690cfd..c36c1c3573 100644 --- a/deal.II/deal.II/include/dofs/dof_constraints.templates.h +++ b/deal.II/deal.II/include/dofs/dof_constraints.templates.h @@ -797,6 +797,44 @@ distribute_local_to_global (const FullMatrix &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],