]> https://gitweb.dealii.org/ - dealii.git/commitdiff
change declarations 9676/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Wed, 18 Mar 2020 08:00:55 +0000 (09:00 +0100)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Wed, 18 Mar 2020 08:00:55 +0000 (09:00 +0100)
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.inst.in

index a9cf8ac42ca9eab0f49df6a93724d65d0da70850..c9e9dd69748db00c973134151afbcf948e9ddc8b 100644 (file)
@@ -1547,11 +1547,10 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   merge_triangulations(
-    const std::initializer_list<const Triangulation<dim, spacedim> *const>
-      &                           triangulations,
-    Triangulation<dim, spacedim> &result,
-    const double                  duplicated_vertex_tolerance = 1.0e-12,
-    const bool                    copy_manifold_ids           = false);
+    const std::vector<const Triangulation<dim, spacedim> *> &triangulations,
+    Triangulation<dim, spacedim> &                           result,
+    const double duplicated_vertex_tolerance = 1.0e-12,
+    const bool   copy_manifold_ids           = false);
 
   /**
    * \brief Replicate a given triangulation in multiple coordinate axes
index 0e6c15512d60ff0079cce8a3caa84a95dca3a0d1..d350c01c4e8f3b180786727bc2c1e82bdc1d3672 100644 (file)
@@ -80,9 +80,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 
       template void
       merge_triangulations(
-        const std::initializer_list<
-          const Triangulation<deal_II_dimension, deal_II_space_dimension>
-            *const> &,
+        const std::vector<
+          const Triangulation<deal_II_dimension, deal_II_space_dimension> *> &,
         Triangulation<deal_II_dimension, deal_II_space_dimension> &,
         const double,
         const bool);

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.