]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an explicit instantiation.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jan 2009 04:23:34 +0000 (04:23 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jan 2009 04:23:34 +0000 (04:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@18246 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_tools.cc

index b7962c11368091a70ab91e25035c44db953e67c1..a2b3e7f856b3d122c402a1446e3e435705886930 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -1343,24 +1343,32 @@ void GridTools::scale<deal_II_dimension, deal_II_dimension+1> (const double,
 
 
 
-template
-std::list<std::pair<Triangulation<deal_II_dimension,deal_II_dimension+1>::cell_iterator,
-                    Triangulation<deal_II_dimension,deal_II_dimension+1>::cell_iterator> >
-GridTools::
-get_finest_common_cells (const Triangulation<deal_II_dimension,deal_II_dimension+1> &mesh_1,
-                         const Triangulation<deal_II_dimension,deal_II_dimension+1> &mesh_2);
+#endif
+
+
+#include "grid_tools.inst"
+
+#if deal_II_dimension < 3
 
 template
-std::list<std::pair<DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator,
-                    DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator> >
-GridTools::
-get_finest_common_cells (const DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_1,
-                         const DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_2);
+    std::list<std::pair<Triangulation<deal_II_dimension,deal_II_dimension+1>::cell_iterator, Triangulation<deal_II_dimension,deal_II_dimension+1>::cell_iterator> >
+    GridTools::
+    get_finest_common_cells (const Triangulation<deal_II_dimension,deal_II_dimension+1> &mesh_1,
+                            const Triangulation<deal_II_dimension,deal_II_dimension+1> &mesh_2);
 
-#endif
+template
+    std::list<std::pair<DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator, DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator> >
+    GridTools::
+    get_finest_common_cells (const DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_1,
+                            const DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_2);
 
+template
+    std::list<std::pair<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator, hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator> >
+    GridTools::
+    get_finest_common_cells (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_1,
+                            const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &mesh_2);
 
-#include "grid_tools.inst"
+#endif
 
 DEAL_II_NAMESPACE_CLOSE
 

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.