]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix problem with clang 3.0
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 12:09:38 +0000 (12:09 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 12:09:38 +0000 (12:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@28783 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria.cc

index 3ecf7d5b0fbbb0c1c036df1ab48e3666583d8d3a..417f2312b561799148bd6e89c86cc07cf03ef99c 100644 (file)
@@ -599,6 +599,28 @@ namespace
   }
 
 
+  /**
+   * Collect all coarse mesh cells
+   * with at least one vertex at
+   * which the determinant of the
+   * Jacobian is zero or
+   * negative. This is the function
+   * for the case dim!=spacedim,
+   * where we can not determine
+   * whether a cell is twisted as it
+   * may, for example, discretize a
+   * manifold with a twist.
+   */
+  template <class TRIANGULATION>
+  inline
+  typename TRIANGULATION::DistortedCellList
+  collect_distorted_coarse_cells (const TRIANGULATION &)
+  {
+    return typename TRIANGULATION::DistortedCellList();
+  }
+
+
+
   /**
    * Collect all coarse mesh cells
    * with at least one vertex at
@@ -608,6 +630,7 @@ namespace
    * for the case dim==spacedim.
    */
   template <int dim>
+  inline
   typename Triangulation<dim,dim>::DistortedCellList
   collect_distorted_coarse_cells (const Triangulation<dim,dim> &triangulation)
   {
@@ -636,27 +659,6 @@ namespace
   }
 
 
-  /**
-   * Collect all coarse mesh cells
-   * with at least one vertex at
-   * which the determinant of the
-   * Jacobian is zero or
-   * negative. This is the function
-   * for the case dim!=spacedim,
-   * where we can not determine
-   * whether a cell is twisted as it
-   * may, for example, discretize a
-   * manifold with a twist.
-   */
-  template <int dim, int spacedim>
-  typename Triangulation<dim,spacedim>::DistortedCellList
-  collect_distorted_coarse_cells (const Triangulation<dim,spacedim> &)
-  {
-    return typename Triangulation<dim,spacedim>::DistortedCellList();
-  }
-
-
-
   /**
    * Return whether any of the
    * children of the given cell is

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.