From: kanschat Date: Tue, 10 Apr 2007 23:16:43 +0000 (+0000) Subject: seems to have been in there already, but merge did not realize it X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862bd2cb24902772e84dd48722e9afcccbe7ee8e;p=dealii-svn.git seems to have been in there already, but merge did not realize it git-svn-id: https://svn.dealii.org/trunk@14624 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc index ec589b7efb..8da619dd4d 100644 --- a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc +++ b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc @@ -1091,78 +1091,6 @@ MGTools::count_dofs_per_component ( } -template -void -MGTools::count_dofs_per_block ( - const MGDoFHandler& dof_handler, - std::vector >& dofs_per_block, - std::vector target_block) -{ - const FiniteElement& fe = dof_handler.get_fe(); - const unsigned int n_blocks = fe.n_blocks(); - const unsigned int n_levels = dof_handler.get_tria().n_levels(); - - dofs_per_block.resize (n_levels, std::vector(n_blocks)); - for (unsigned int l=0;l > - dofs_in_block (n_blocks, std::vector(dof_handler.n_dofs(l), false)); - std::vector > - block_select (n_blocks, std::vector(n_blocks, false)); - Threads::ThreadGroup<> threads; - for (unsigned int i=0; i&, - const std::vector&, - std::vector&, - bool) - = &DoFTools::template extract_level_dofs; - block_select[i][i] = true; - threads += Threads::spawn (fun_ptr)(l, dof_handler, block_select[i], - dofs_in_block[i], true); - }; - threads.join_all (); - - // next count what we got - for (unsigned int block=0;block