]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a TODO.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 16 Sep 2010 16:02:56 +0000 (16:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 16 Sep 2010 16:02:56 +0000 (16:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@21995 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/constraint_matrix.h

index 49e14719efc7a323e9c5b2ddf4c868876a53ab94..a30e41d48a3400b34ee66dfeab53a98eb20489c2 100644 (file)
@@ -54,6 +54,15 @@ namespace internals
 }
 
 
+//TODO[WB]: We should have a function of the kind
+//   ConstraintMatrix::add_constraint (const unsigned int constrained_dof,
+//                const std::vector<std::pair<unsigned int, double> > &entries,
+//                const double inhomogeneity = 0);
+// rather than building up constraints piecemeal through add_line/add_entry
+// etc. This would also eliminate the possibility of accidentally changing
+// existing constraints into something pointless, see the discussion on the
+// mailing list on "Tiny bug in interpolate_boundary_values" in Sept. 2010.
+
 /**
  * This class implements dealing with linear (possibly inhomogeneous)
  * constraints on degrees of freedom. In particular, it handles constraints of
@@ -100,7 +109,7 @@ namespace internals
  * boundary conditions (the standard way that is extensively discussed in the
  * tutorial programs is to use MatrixTools::apply_boundary_values). The
  * general principle of Dirichlet conditions are algebraic constraints of the
- * form $x_{i} = b_i$, which fits into the form described above. 
+ * form $x_{i} = b_i$, which fits into the form described above.
  *
  * Please note that when combining adaptively refined meshes with hanging node
  * constraints and inhomogeneous Dirichlet boundary conditions within one

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.