]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove only usage of DOFHANDLERS in .inst.in
authorTimo Heister <timo.heister@gmail.com>
Sat, 28 Jan 2017 20:36:49 +0000 (15:36 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 2 Feb 2017 18:41:44 +0000 (13:41 -0500)
source/dofs/dof_tools_constraints.inst.in

index 6e43b046287017bd81b11988b6504945abb406bc..d5873bb0305833c7c0abed619925c04ae8ef5218 100644 (file)
 // ---------------------------------------------------------------------
 
 
-
-
-for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
+for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
 {
+#if deal_II_dimension <= deal_II_space_dimension
     template
     void
-    DoFTools::make_hanging_node_constraints (const DH &dof_handler,
-            ConstraintMatrix &constraints);
+    DoFTools::make_hanging_node_constraints (
+       const DH<deal_II_dimension, deal_II_space_dimension>     &,
+            ConstraintMatrix &);       
+#endif
+}
 
+
+for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
+{
 #if deal_II_dimension != 1
     template
     void
-    DoFTools::make_periodicity_constraints (const DH::face_iterator &,
-                                            const DH::face_iterator &,
+    DoFTools::make_periodicity_constraints (const DH<deal_II_dimension>::face_iterator &,
+                                            const DH<deal_II_dimension>::face_iterator &,
                                             dealii::ConstraintMatrix &,
                                             const ComponentMask &,
                                             bool, bool, bool,
@@ -36,8 +41,8 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
 
     template
     void
-    DoFTools::make_periodicity_constraints<DH>
-    (const std::vector<GridTools::PeriodicFacePair<DH::cell_iterator> > &,
+    DoFTools::make_periodicity_constraints<DH<deal_II_dimension> >
+    (const std::vector<GridTools::PeriodicFacePair<DH<deal_II_dimension>::cell_iterator> > &,
      dealii::ConstraintMatrix &,
      const ComponentMask &,
      const std::vector<unsigned int> &);
@@ -45,7 +50,7 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
 
     template
     void
-    DoFTools::make_periodicity_constraints(const DH &,
+    DoFTools::make_periodicity_constraints(const DH<deal_II_dimension> &,
                                            const types::boundary_id,
                                            const types::boundary_id,
                                            const int,
@@ -54,7 +59,7 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
 
     template
     void
-    DoFTools::make_periodicity_constraints(const DH &,
+    DoFTools::make_periodicity_constraints(const DH<deal_II_dimension> &,
                                            const types::boundary_id,
                                            const int,
                                            dealii::ConstraintMatrix &,
@@ -64,23 +69,6 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
 
 for (deal_II_dimension : DIMENSIONS)
 {
-#if deal_II_dimension < 3
-
-    template
-    void
-    DoFTools::
-    make_hanging_node_constraints (const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_handler,
-                                   ConstraintMatrix &constraints);
-#endif
-
-#if deal_II_dimension == 3
-    template
-    void
-    DoFTools::
-    make_hanging_node_constraints (const DoFHandler<1,3> &dof_handler,
-                                   ConstraintMatrix &constraints);
-#endif
-
     template
     void
     DoFTools::make_zero_boundary_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.