]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Further simplify instantiations of DoFTools::count_dofs_per_component().
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Jan 2020 03:28:52 +0000 (20:28 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Jan 2020 03:29:36 +0000 (20:29 -0700)
source/dofs/dof_tools.inst.in

index 73b0d4429e9abdc81eec47899d381981605ace51..4f8a57dec229d28446112efa93f8bfc67d105f8d 100644 (file)
@@ -43,6 +43,13 @@ for (DoFHandler : DOFHANDLER_TEMPLATES;
       DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof_handler,
       const ComponentMask &                                         components);
+
+    template void DoFTools::count_dofs_per_component<
+      DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+      std::vector<types::global_dof_index> &,
+      const bool,
+      const std::vector<unsigned int> &);
 #endif
   }
 
@@ -296,6 +303,7 @@ for (deal_II_dimension : DIMENSIONS)
     DoFTools::locally_relevant_dofs_per_subdomain<
       DoFHandler<deal_II_dimension, deal_II_dimension + 1>>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof_handler);
+
     template std::vector<IndexSet>
     DoFTools::locally_relevant_dofs_per_subdomain<
       hp::DoFHandler<deal_II_dimension, deal_II_dimension + 1>>(
@@ -646,23 +654,6 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
         const BlockMask &,
         std::vector<bool> &);
 
-
-      template void
-      count_dofs_per_component<
-        DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
-        std::vector<types::global_dof_index> &,
-        const bool,
-        const std::vector<unsigned int> &);
-
-      template void
-      count_dofs_per_component<
-        hp::DoFHandler<deal_II_dimension, deal_II_space_dimension>>(
-        const hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
-        std::vector<types::global_dof_index> &,
-        const bool,
-        const std::vector<unsigned int> &);
-
       template void
       make_cell_patches<deal_II_dimension, deal_II_space_dimension>(
         SparsityPattern &,

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.