From d8e3f99941a0ba60352a5b239b2155cb087bd503 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 31 Dec 2012 00:55:14 +0000 Subject: [PATCH] Augment documentation. git-svn-id: https://svn.dealii.org/trunk@27877 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-6/step-6.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-6/step-6.cc b/deal.II/examples/step-6/step-6.cc index 068fe9a410..7a5ab14778 100644 --- a/deal.II/examples/step-6/step-6.cc +++ b/deal.II/examples/step-6/step-6.cc @@ -329,16 +329,19 @@ void Step6::setup_system () // previous examples. Nevertheless, we do not copy it to the final sparsity // pattern immediately. Note that we call a variant of // make_sparsity_pattern that takes the ConstraintMatrix as the third - // argument. We are letting the routine know, the we will never write into + // argument. We are letting the routine know that we will never write into // the locations given by constraints by setting the argument - // keep_constrained_dofs to false. If we were to condense the + // keep_constrained_dofs to false (in other words, that we will + // never write into entries of the matrix that correspond to constrained + // degrees of freedom). If we were to condense the // constraints after assembling, we would have to pass true - // instead. + // instead because then we would first write into these locations only to + // later set them to zero again during condensation. CompressedSparsityPattern c_sparsity(dof_handler.n_dofs()); DoFTools::make_sparsity_pattern(dof_handler, c_sparsity, constraints, - false /*keep_constrained_dofs*/); + /*keep_constrained_dofs = */ false); // Now all non-zero entries of the matrix are known (i.e. those from // regularly assembling the matrix and those that were introduced by -- 2.39.5