From 52db8b53122dc52c9fb4f295d2c90ab111aaaf55 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 18 Oct 2008 03:41:44 +0000 Subject: [PATCH] Fix thinko: extract_subdomain_dofs may register the same dof for several subdomains. This is not what we wanted in count_subdomain_association. git-svn-id: https://svn.dealii.org/trunk@17272 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_tools.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 559c480adc..980f15b1c9 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -3800,8 +3800,8 @@ DoFTools::count_dofs_with_subdomain_association (const DH &dof_handler } #endif - std::vector subdomain_association (dof_handler.n_dofs()); - extract_subdomain_dofs (dof_handler, subdomain, subdomain_association); + std::vector subdomain_association (dof_handler.n_dofs()); + get_subdomain_association (dof_handler, subdomain_association); std::vector component_association (dof_handler.n_dofs()); for (unsigned int c=0; c