]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Really only instantiate functions that aren't explicitly specialized.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 2010 21:34:27 +0000 (21:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 2010 21:34:27 +0000 (21:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@22884 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_generator.inst.in

index 59815baebf99bd39eda262cb74be3d92bad0c462..7f21f42ffba8738a8595c9780f5f90ac52cb64f3 100644 (file)
 
 for (deal_II_dimension : DIMENSIONS)
 {
+  template void
+    GridGenerator::hyper_rectangle<deal_II_dimension> (
+      Triangulation<deal_II_dimension> &,
+      const Point<deal_II_dimension>&, const Point<deal_II_dimension>&,
+      const bool);
+
+  template void
+    GridGenerator::colorize_hyper_rectangle<deal_II_dimension> (
+      Triangulation<deal_II_dimension> &);
+
   template void
     GridGenerator::hyper_cube<deal_II_dimension> (
       Triangulation<deal_II_dimension> &, const double, const double);
@@ -23,78 +33,15 @@ for (deal_II_dimension : DIMENSIONS)
       Triangulation<deal_II_dimension> &,
       const unsigned int, const double, const double);
 
-  template void
-    GridGenerator::hyper_rectangle<deal_II_dimension> (
-      Triangulation<deal_II_dimension> &,
-      const Point<deal_II_dimension>&, const Point<deal_II_dimension>&,
-      const bool);
-
   template void
     GridGenerator::subdivided_hyper_rectangle<deal_II_dimension>
     (Triangulation<deal_II_dimension> &,
      const std::vector<unsigned int>&,
      const Point<deal_II_dimension>&,
-     const Point<deal_II_dimension>&, bool);
-
-  template void
-    GridGenerator::subdivided_hyper_rectangle<deal_II_dimension>
-    (Triangulation<deal_II_dimension> &,
-     const std::vector<std::vector<double> >&,
      const Point<deal_II_dimension>&,
-     const Point<deal_II_dimension>&, bool);
+     bool);
 
 #if deal_II_dimension > 1
-  template void
-    GridGenerator::enclosed_hyper_cube (
-      Triangulation<deal_II_dimension>&, double, double, double, bool);
-
-  template void
-    GridGenerator::hyper_ball (
-      Triangulation<deal_II_dimension>&,
-      const Point<deal_II_dimension>&, double);
-
-  template void
-    GridGenerator::cylinder (
-      Triangulation<deal_II_dimension>&, double, double);
-
-  template void
-    GridGenerator::truncated_cone (
-      Triangulation<deal_II_dimension>&, double, double, double);
-
-  template void
-    GridGenerator::hyper_L (
-      Triangulation<deal_II_dimension>&, double, double);
-
-  template void
-    GridGenerator::hyper_cube_slit (
-      Triangulation<deal_II_dimension>&, double, double, bool);
-
-  template void
-    GridGenerator::hyper_shell (
-      Triangulation<deal_II_dimension>&,
-      const Point<deal_II_dimension>&, double, double, unsigned int, bool);
-
-
-  template void
-    GridGenerator::cylinder_shell (
-      Triangulation<deal_II_dimension>&,
-      double, double, double, unsigned int, unsigned int);
-
-  template void
-    GridGenerator::half_hyper_ball (
-      Triangulation<deal_II_dimension>&, const Point<deal_II_dimension>&, double);
-
-  template void
-    GridGenerator::half_hyper_shell (
-      Triangulation<deal_II_dimension>&,
-      const Point<deal_II_dimension>&, double, double, unsigned int);
-
-
-  template void
-    GridGenerator::hyper_cube_with_cylindrical_hole (
-      Triangulation<deal_II_dimension> &,
-      const double, const double, const double, const unsigned int, bool);
-
   template void
     GridGenerator::
     laplace_transformation<deal_II_dimension> (Triangulation<deal_II_dimension> &,
@@ -102,7 +49,6 @@ for (deal_II_dimension : DIMENSIONS)
 #endif
 
 #if deal_II_dimension != 3
-
   template void
     GridGenerator::hyper_cube<deal_II_dimension, deal_II_dimension+1> (
       Triangulation<deal_II_dimension,deal_II_dimension+1> &, const double, const double);

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.