]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adjust signature of function in header file.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Aug 2012 13:59:24 +0000 (13:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Aug 2012 13:59:24 +0000 (13:59 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_merge_mg_into_dof_handler@25937 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/multigrid/mg_tools.h

index b1695498e03c2be1bb9de910d6045bcb3e415a0b..d968ab4c28d7736c3726462b508cccde23451717 100644 (file)
@@ -173,11 +173,11 @@ namespace MGTools
                                     * for each block (access is
                                     * <tt>result[level][block]</tt>).
                                     */
-  template <int dim, int spacedim>
+  template <class DH>
   void
-  count_dofs_per_block (const MGDoFHandler<dim,spacedim> &mg_dof,
-                        std::vector<std::vector<unsigned int> > &result,
-                        std::vector<unsigned int> target_block = std::vector<unsigned int>());
+  count_dofs_per_block (const DH&     dof_handler,
+                       std::vector<std::vector<unsigned int> >& dofs_per_block,
+                       std::vector<unsigned int>  target_block);
 
                                    /**
                                     * Count the dofs component-wise

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.