From 2ced8d49f422d16303d0da917ade138c126f49b2 Mon Sep 17 00:00:00 2001 From: Joerg Frohne Date: Mon, 19 Nov 2012 12:15:16 +0000 Subject: [PATCH] More comments git-svn-id: https://svn.dealii.org/trunk@27577 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 644787bc18..c1cb541fae 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -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 void PlasticityContactProblem::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 -- 2.39.5