]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate for all dimensions GridOut::write_svg 8449/head
authorpeterrum <peterrmuench@gmail.com>
Sun, 4 Aug 2019 14:19:41 +0000 (16:19 +0200)
committerpeterrum <peterrmuench@gmail.com>
Sun, 4 Aug 2019 14:19:41 +0000 (16:19 +0200)
source/grid/grid_out.inst.in

index 56226d1130db40f452c67b666a631ea3d85f8416..7af8cf2311ea2c9028451dc45dc937b5d4467339 100644 (file)
@@ -24,6 +24,11 @@ for (deal_II_dimension : DIMENSIONS)
       const Triangulation<deal_II_dimension> &, std::ostream &) const;
 #endif
 
+#if deal_II_dimension != 2
+    template void GridOut::write_svg(const Triangulation<deal_II_dimension> &,
+                                     std::ostream &) const;
+#endif
+
     template void GridOut::write_msh(const Triangulation<deal_II_dimension> &,
                                      std::ostream &) const;
 
@@ -68,6 +73,13 @@ for (deal_II_dimension : DIMENSIONS)
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension < deal_II_space_dimension
+
+#  if deal_II_dimension != 2
+    template void GridOut::write_svg(
+      const Triangulation<deal_II_dimension, deal_II_space_dimension> &,
+      std::ostream &) const;
+#  endif
+
     template void GridOut::write_msh(
       const Triangulation<deal_II_dimension, deal_II_space_dimension> &,
       std::ostream &) const;

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.