]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add codim instantiations for make_zero_boundary_constraints. 5247/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 15 Oct 2017 01:09:48 +0000 (21:09 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 15 Oct 2017 02:48:52 +0000 (22:48 -0400)
source/dofs/dof_tools_constraints.inst.in

index 1fda53d017b9e55680bd289800f5c05f8ba05391..9e65987564b20521f7651d9124917042de33c8c4 100644 (file)
@@ -72,52 +72,48 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
 #endif
 }
 
-for (deal_II_dimension : DIMENSIONS)
+for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 {
+#if deal_II_dimension <= deal_II_space_dimension
     template
     void
     DoFTools::make_zero_boundary_constraints
-    (const DoFHandler<deal_II_dimension> &,
-     ConstraintMatrix                    &,
-     const ComponentMask             &);
+    (const DH<deal_II_dimension, deal_II_space_dimension> &,
+     ConstraintMatrix                                     &,
+     const ComponentMask                                  &);
 
     template
     void
     DoFTools::make_zero_boundary_constraints
-    (const DoFHandler<deal_II_dimension> &,
+    (const DH<deal_II_dimension, deal_II_space_dimension> &,
      const types::boundary_id,
-     ConstraintMatrix                    &,
-     const ComponentMask             &);
-
-    template
-    void
-    DoFTools::make_zero_boundary_constraints
-    (const hp::DoFHandler<deal_II_dimension> &,
-     ConstraintMatrix                        &,
-     const ComponentMask                 &);
-
-    template
-    void
-    DoFTools::make_zero_boundary_constraints
-    (const hp::DoFHandler<deal_II_dimension> &,
-     const types::boundary_id,
-     ConstraintMatrix                        &,
-     const ComponentMask                 &);
+     ConstraintMatrix                                     &,
+     const ComponentMask                                  &);
+#endif
+}
 
+// intergrid transfer is not yet implemented for hp::DoFHandler
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+{
+#if deal_II_dimension <= deal_II_space_dimension
     template
     void
-    DoFTools::compute_intergrid_constraints<deal_II_dimension> (
-        const DoFHandler<deal_II_dimension> &, const unsigned int,
-        const DoFHandler<deal_II_dimension> &, const unsigned int,
-        const InterGridMap<DoFHandler<deal_II_dimension> > &,
-        ConstraintMatrix&);
+    DoFTools::compute_intergrid_constraints
+    (const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+     const unsigned int,
+     const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+     const unsigned int,
+     const InterGridMap<DoFHandler<deal_II_dimension, deal_II_space_dimension> > &,
+     ConstraintMatrix &);
 
     template
     void
     DoFTools::compute_intergrid_transfer_representation<deal_II_dimension>
-    (const DoFHandler<deal_II_dimension> &, const unsigned int,
-     const DoFHandler<deal_II_dimension> &, const unsigned int,
-     const InterGridMap<DoFHandler<deal_II_dimension> > &,
+    (const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+     const unsigned int,
+     const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+     const unsigned int,
+     const InterGridMap<DoFHandler<deal_II_dimension, deal_II_space_dimension> > &,
      std::vector<std::map<types::global_dof_index, float> > &);
-
+#endif
 }

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.