]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate boundary functions for dim<spacedim
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 21 Apr 2020 22:41:05 +0000 (18:41 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 21 Apr 2020 22:42:14 +0000 (18:42 -0400)
source/numerics/vector_tools_boundary.inst.in

index bdfb12e6babbc4bd7357e799d9cb4f57281772dd..d387d0bccddc00148ab77c3f6e73a0ed16fd1ce3 100644 (file)
@@ -129,34 +129,45 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      number : REAL_AND_COMPLEX_SCALARS)
   {
-#if deal_II_dimension == deal_II_space_dimension
+#if deal_II_dimension <= deal_II_space_dimension
     namespace VectorTools
     \{
 
       template void
       project_boundary_values<deal_II_dimension>(
-        const Mapping<deal_II_dimension> &,
-        const DoFHandler<deal_II_dimension> &,
+        const Mapping<deal_II_dimension, deal_II_space_dimension> &,
+        const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_dimension, number> *> &,
+                       const Function<deal_II_space_dimension, number> *> &,
         const Quadrature<deal_II_dimension - 1> &,
         std::map<types::global_dof_index, number> &,
         std::vector<unsigned int>);
 
       template void
       project_boundary_values<deal_II_dimension>(
-        const DoFHandler<deal_II_dimension> &,
+        const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_dimension, number> *> &,
+                       const Function<deal_II_space_dimension, number> *> &,
         const Quadrature<deal_II_dimension - 1> &,
         std::map<types::global_dof_index, number> &,
         std::vector<unsigned int>);
 
+      template void
+      project_boundary_values<deal_II_dimension>(
+        const hp::MappingCollection<deal_II_dimension, deal_II_space_dimension>
+          &,
+        const hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+        const std::map<types::boundary_id,
+                       const Function<deal_II_space_dimension, number> *> &,
+        const hp::QCollection<deal_II_dimension - 1> &,
+        std::map<types::global_dof_index, number> &,
+        std::vector<unsigned int>);
+
       template void
       project_boundary_values<deal_II_dimension, deal_II_space_dimension>(
         const hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_dimension, number> *> &,
+                       const Function<deal_II_space_dimension, number> *> &,
         const hp::QCollection<deal_II_dimension - 1> &,
         std::map<types::global_dof_index, number> &,
         std::vector<unsigned int>);

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.