]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Forward declare a bunch of functions that have explicit specializations.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Aug 2007 22:18:28 +0000 (22:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Aug 2007 22:18:28 +0000 (22:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@14932 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/grid_reordering.h
deal.II/deal.II/include/grid/grid_tools.h
deal.II/deal.II/include/grid/tria_objects.h

index 77f2ca91c953692b757eb88184eab3d81814ff60..68a022c4cec9fb50e50fafff8ea74a6ce1a836a9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -697,6 +697,24 @@ class GridReordering
 };
 
 
+// declaration of explicit specializations
+template<>
+void
+GridReordering<2>::reorder_cells (std::vector<CellData<2> > &original_cells);
+
+template<>
+void
+GridReordering<2>::invert_all_cells_of_negative_grid(const std::vector<Point<2> > &all_vertices,
+                                                    std::vector<CellData<2> >    &cells);
+
+template <>
+void
+Triangulation<2>::create_triangulation_compatibility (const std::vector<Point<2> >    &v,
+                                                     const std::vector<CellData<2> > &c,
+                                                     const SubCellData               &subcelldata);
+
+
+
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
index eb0d953d47b989c34a2711b2bae62a978b10457c..84e1bd7d903c85f1cf8d2a65e684751ff670c848 100644 (file)
@@ -750,6 +750,12 @@ GridTools::get_active_child_cells (const typename DH::cell_iterator& cell)
 }
 
 
+// declaration of explicit specializations
+template <>
+double
+GridTools::cell_measure(const std::vector<Point<2> > &all_vertices,
+                       const unsigned int (&vertex_indices) [GeometryInfo<2>::vertices_per_cell]);
+
 
 
 
index 88557e6adf795f04ab5ec0300f92cf3799bc43ad..a41f84b4fdd50c79f023d2950164299fbe0d1e93 100644 (file)
@@ -606,6 +606,21 @@ namespace internal
     }
 
 
+
+// declaration of explicit specializations
+
+    template<>
+    void
+    TriaObjects<Line>::reserve_space (const unsigned int new_lines);
+
+    template<>
+    void
+    TriaObjects<Quad>::reserve_space (const unsigned int new_quads);
+
+    template<>
+    void
+    TriaObjects<Quad>::monitor_memory (const unsigned int) 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.