]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add one more paragraph as suggested by Joerg.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jun 2012 21:22:38 +0000 (21:22 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jun 2012 21:22:38 +0000 (21:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@25609 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/headers/constraints.h

index b4493e1564ea966cbdcffcf3d984b75b24129f14..9a74e6f85c17a09f4087a6abba58b5a7a12a1708 100644 (file)
  * First approach:
  * - Apply the ConstraintMatrix::distribute_local_to_global() function to the
  *   system matrix and the right-hand-side with the parameter
- *   use_inhomogeneities_for_rhs = false (default)
+ *   use_inhomogeneities_for_rhs = false (i.e., the default)
  * - Set the solution to zero in the inhomogeneous constrained components
  *   using the ConstraintMatrix::set_zero() function (or start with a solution
  *   vector equal to zero)
  *   ConstraintMatrix::distribute() <i>before</i> solving the linear system
  *   (and then, as necessary, a second time after solving).
  *
+ * In addition to these considerations, consider the case where we have
+ * inhomogeneous constraints of the kind $x_{3}=\tfrac 12 x_1 + \tfrac 12$,
+ * e.g., from a hanging node constraint of the form $x_{3}=\tfrac 12 (x_1 +
+ * x_2)$ where $x_2$ is itself constrained by boundary values to $x_2=1$.
+ * In this case, the ConstraintMatrix can of course not figure out what
+ * the final value of $x_3$ should be and, consequently, can not set the
+ * solution vector's third component correctly. Thus, the second approach will
+ * not work and you should take the first.
+ *
  *
  * <h3>Dealing with conflicting constraints</h3>
  *

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.