]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
More comments
authorfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Nov 2012 12:15:16 +0000 (12:15 +0000)
committerfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Nov 2012 12:15:16 +0000 (12:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@27577 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 644787bc18b0ceb979c7a092908f58d588c2b968..c1cb541faeddd213dac5126671b236360396f0b8 100644 (file)
@@ -1002,8 +1002,12 @@ namespace Step42
     constraints.merge (constraints_dirichlet_hanging_nodes);
   }
 
+                                   // @sect4{PlasticityContactProblem::dirichlet_constraints}
 
-
+                                   // This function defines the new ConstraintMatrix
+                                   // constraints_dirichlet_hanging_nodes. It contains
+                                   // the dirichlet boundary values as well as the
+                                   // hanging nodes constraints.
   template <int dim>
   void PlasticityContactProblem<dim>::dirichlet_constraints ()
   {
@@ -1052,11 +1056,12 @@ namespace Step42
                                    //
                                    // For the hanging nodes we have to apply
                                    // the set_zero function to system_rhs_newton.
-                                   // This is necessary if a hanging node x_0
-                                   // has one neighbor x_1 which is in contact
-                                   // and one neighbor x_2 which is not. This
-                                   // leads to an inhomogeneity constraint
-                                   // with value x_1/2 in the ConstraintMatrix.
+                                   // This is necessary if a hanging node value x_0
+                                   // has one neighbor which is in contact with
+                                   // value x_0 and one neighbor which is not with
+                                   // value x_1. This leads to an inhomogeneity
+                                   // constraint with value x_1/2 = gap/2 in the
+                                   // ConstraintMatrix.
                                    // So the corresponding entries in the 
                                    // ride-hang-side are non-zero with a
                                    // meaningless value. These values have to

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.