]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix missing instantiations. 60/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Aug 2014 05:40:59 +0000 (00:40 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Aug 2014 05:40:59 +0000 (00:40 -0500)
Eric Heien reports that he can't compile deal.II on one Mac machine with missing
symbols. I think we just forgot to instantiate them.

source/grid/tria_objects.cc
source/grid/tria_objects.inst.in

index 13eac3c1817e153a92e96de3ce0eb2d4553ba599..a61c028abb652d333ed9abd60a84520def48b39d 100644 (file)
@@ -242,9 +242,6 @@ namespace internal
     }
 
 
-
-
-
     void
     TriaObjectsHex::reserve_space (const unsigned int new_hexes)
     {
index 4f8448ed55fae8b4f171cc1b7d637e9b695f1ff6..f022524fcaa29febaafdcd0c9b1d88707c7b88f5 100644 (file)
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id$
 //
-// Copyright (C) 2006 - 2013 by the deal.II authors
+// Copyright (C) 2006 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -17,8 +17,7 @@
 
 for (deal_II_dimension : DIMENSIONS)
   {
-#if deal_II_dimension > 1
-
+#if deal_II_dimension >= 2
     template dealii::TriaRawIterator<dealii::TriaAccessor<1,deal_II_dimension,deal_II_dimension> >
     TriaObjects<TriaObject<1> >::next_free_single_object (const dealii::Triangulation<deal_II_dimension> &tria);
     template dealii::TriaRawIterator<dealii::TriaAccessor<1,deal_II_dimension,deal_II_dimension> >
@@ -28,7 +27,13 @@ for (deal_II_dimension : DIMENSIONS)
     template dealii::TriaRawIterator<dealii::TriaAccessor<2,deal_II_dimension,deal_II_dimension> >
     TriaObjects<TriaObject<2> >::next_free_pair_object (const dealii::Triangulation<deal_II_dimension> &tria);
 #endif
-#if deal_II_dimension == 3
+
+#if deal_II_dimension >= 3
+    template dealii::TriaRawIterator<dealii::TriaAccessor<3,deal_II_dimension,deal_II_dimension> >
+    TriaObjects<TriaObject<3> >::next_free_single_object (const dealii::Triangulation<deal_II_dimension> &tria);
+    template dealii::TriaRawIterator<dealii::TriaAccessor<3,deal_II_dimension,deal_II_dimension> >
+    TriaObjects<TriaObject<3> >::next_free_pair_object (const dealii::Triangulation<deal_II_dimension> &tria);
+
     template dealii::Triangulation<deal_II_dimension>::raw_hex_iterator
     TriaObjects<TriaObject<3> >::next_free_hex(const dealii::Triangulation<deal_II_dimension> &, const unsigned int);
 #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.