From f45bc40db6cb3177708ff2be056706aa2e75bbc3 Mon Sep 17 00:00:00 2001 From: kanschat Date: Thu, 7 Mar 2013 12:09:38 +0000 Subject: [PATCH] fix problem with clang 3.0 git-svn-id: https://svn.dealii.org/trunk@28783 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/tria.cc | 44 +++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/deal.II/source/grid/tria.cc b/deal.II/source/grid/tria.cc index 3ecf7d5b0f..417f2312b5 100644 --- a/deal.II/source/grid/tria.cc +++ b/deal.II/source/grid/tria.cc @@ -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 + 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 + inline typename Triangulation::DistortedCellList collect_distorted_coarse_cells (const Triangulation &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 - typename Triangulation::DistortedCellList - collect_distorted_coarse_cells (const Triangulation &) - { - return typename Triangulation::DistortedCellList(); - } - - - /** * Return whether any of the * children of the given cell is -- 2.39.5