]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add explicit instantiations for shared::Triangulation 7936/head
authorBenjamin Brands <benjamin.brands@fau.de>
Thu, 18 Apr 2019 20:25:21 +0000 (22:25 +0200)
committerBenjamin Brands <benjamin.brands@fau.de>
Thu, 18 Apr 2019 20:33:35 +0000 (22:33 +0200)
source/grid/grid_tools_dof_handlers.inst.in

index 9ef81e67af5d0b902581e840e4b2f7dcd0ba972f..39c7284ad50d66085139b623e5f5c93b34763b14 100644 (file)
@@ -337,3 +337,51 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 #  endif
 #endif
   }
+
+// TODO the text above the last instantiation block implies that this should not
+// be necessary... is it?
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+  {
+#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension >= 2
+
+    namespace GridTools
+    \{
+      template void
+      collect_periodic_faces<
+        parallel::shared::Triangulation<deal_II_dimension,
+                                        deal_II_space_dimension>>(
+        const parallel::shared::Triangulation<deal_II_dimension,
+                                              deal_II_space_dimension> &,
+        const types::boundary_id,
+        const types::boundary_id,
+        const int,
+        std::vector<PeriodicFacePair<parallel::shared::Triangulation<
+          deal_II_dimension,
+          deal_II_space_dimension>::cell_iterator>> &,
+        const Tensor<1,
+                     parallel::shared::Triangulation<
+                       deal_II_dimension,
+                       deal_II_space_dimension>::space_dimension> &,
+        const FullMatrix<double> &);
+
+      template void
+      collect_periodic_faces<
+        parallel::shared::Triangulation<deal_II_dimension,
+                                        deal_II_space_dimension>>(
+        const parallel::shared::Triangulation<deal_II_dimension,
+                                              deal_II_space_dimension> &,
+        const types::boundary_id,
+        const int,
+        std::vector<PeriodicFacePair<parallel::shared::Triangulation<
+          deal_II_dimension,
+          deal_II_space_dimension>::cell_iterator>> &,
+        const Tensor<1,
+                     parallel::shared::Triangulation<
+                       deal_II_dimension,
+                       deal_II_space_dimension>::space_dimension> &,
+        const FullMatrix<double> &);
+    \}
+#  endif
+#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.