]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify the instantiations of DoFTools::get/count_dofs_on_patch(). 9257/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Jan 2020 04:17:31 +0000 (21:17 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Jan 2020 04:17:31 +0000 (21:17 -0700)
source/dofs/dof_tools.inst.in

index b33610e531e6c34723f5d6e182f46fbdebc4bc51..70807154278a9b2bcf16891a9e528cfda0ee9b45 100644 (file)
@@ -70,7 +70,20 @@ for (DoFHandler : DOFHANDLER_TEMPLATES;
         const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
         std::vector<types::global_dof_index> &,
         const std::vector<unsigned int> &);
-        
+
+      template unsigned int
+      count_dofs_on_patch<
+        DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
+        const std::vector<
+          DoFHandler<deal_II_dimension,
+                     deal_II_space_dimension>::active_cell_iterator> &patch);
+
+      template std::vector<types::global_dof_index>
+      get_dofs_on_patch<DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
+        const std::vector<
+          DoFHandler<deal_II_dimension,
+                     deal_II_space_dimension>::active_cell_iterator> &patch);
+
       // extract_dofs(): Deprecated versions that return information through
       // the last argument
       template void
@@ -564,35 +577,6 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
         const ComponentMask &);
 
 
-      template unsigned int
-      count_dofs_on_patch<
-        DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const std::vector<
-          DoFHandler<deal_II_dimension,
-                     deal_II_space_dimension>::active_cell_iterator> &patch);
-
-      template std::vector<types::global_dof_index>
-      get_dofs_on_patch<DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const std::vector<
-          DoFHandler<deal_II_dimension,
-                     deal_II_space_dimension>::active_cell_iterator> &patch);
-
-      template unsigned int
-      count_dofs_on_patch<
-        hp::DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const std::vector<
-          hp::DoFHandler<deal_II_dimension,
-                         deal_II_space_dimension>::active_cell_iterator>
-          &patch);
-
-      template std::vector<types::global_dof_index>
-      get_dofs_on_patch<
-        hp::DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const std::vector<
-          hp::DoFHandler<deal_II_dimension,
-                         deal_II_space_dimension>::active_cell_iterator>
-          &patch);
-
       // extract_level_dofs() for ComponentMask and BlockMask
       template void
       extract_level_dofs<

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.