From 73e8b22cf36c0a87d1ca9767e012d096b73b7adb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 29 Apr 2009 16:38:22 +0000 Subject: [PATCH] Clarify one comment. Make sure all values in a table are explicitly initialized. git-svn-id: https://svn.dealii.org/trunk@18794 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_tools.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index cdc2086ed1..f28d2ecf83 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -617,8 +617,13 @@ class DoFTools * @deprecated This is the old * form of the previous * function. It generates a table - * of DoFTools::Coupling values and calls - * it. + * of DoFTools::Coupling values + * (where a true + * value in the mask is + * translated into a + * Coupling::always value in the + * table) and calls the function + * above. */ template static @@ -2007,10 +2012,9 @@ DoFTools::fe_is_primitive (const hp::DoFHandler &dh) template inline void -DoFTools::make_sparsity_pattern ( - const DH &dof, - const std::vector > &mask, - SparsityPattern &sparsity_pattern) +DoFTools::make_sparsity_pattern (const DH &dof, + const std::vector > &mask, + SparsityPattern &sparsity_pattern) { const unsigned int ncomp = dof.get_fe().n_components(); @@ -2025,6 +2029,9 @@ DoFTools::make_sparsity_pattern ( for (unsigned int j=0;j