]> https://gitweb.dealii.org/ - dealii.git/commitdiff
DoFTools: Remove unnecessary template specializations 16512/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Sun, 21 Jan 2024 08:35:00 +0000 (09:35 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Sun, 21 Jan 2024 08:35:00 +0000 (09:35 +0100)
source/dofs/dof_tools_constraints.cc

index d6a16952bbc22fe9c7e4376ac489092504a62a48..a0b98bb6e6924bd8d82fd2d8f5fd3a92f53371f8 100644 (file)
@@ -591,43 +591,6 @@ namespace DoFTools
     } // namespace
 
 
-    template <typename number>
-    void
-    make_hp_hanging_node_constraints(const DoFHandler<1> &,
-                                     AffineConstraints<number> &)
-    {
-      // nothing to do for regular dof handlers in 1d
-    }
-
-
-    template <typename number>
-    void
-    make_hp_hanging_node_constraints(const DoFHandler<1, 2> &,
-                                     AffineConstraints<number> &)
-    {
-      // nothing to do for regular dof handlers in 1d
-    }
-
-
-    template <typename number>
-    void
-    make_hanging_node_constraints_nedelec(const dealii::DoFHandler<1, 2> &,
-                                          AffineConstraints<number> &,
-                                          std::integral_constant<int, 1>)
-    {
-      // nothing to do for regular dof handlers in 1d
-    }
-
-
-    template <typename number>
-    void
-    make_oldstyle_hanging_node_constraints(const DoFHandler<1, 2> &,
-                                           AffineConstraints<number> &,
-                                           std::integral_constant<int, 1>)
-    {
-      // nothing to do for regular dof handlers in 1d
-    }
-
 
     template <typename number, int spacedim>
     void
@@ -639,6 +602,7 @@ namespace DoFTools
     }
 
 
+
     template <typename number, int spacedim>
     void
     make_hanging_node_constraints_nedelec(
@@ -650,6 +614,7 @@ namespace DoFTools
     }
 
 
+
     template <typename number, int spacedim>
     void
     make_oldstyle_hanging_node_constraints(
@@ -660,6 +625,8 @@ namespace DoFTools
       // nothing to do for dof handlers in 1d
     }
 
+
+
     template <int dim_, int spacedim, typename number>
     void
     make_oldstyle_hanging_node_constraints(

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.