From: kanschat Date: Thu, 7 Mar 2013 12:09:38 +0000 (+0000) Subject: fix problem with clang 3.0 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45bc40db6cb3177708ff2be056706aa2e75bbc3;p=dealii-svn.git fix problem with clang 3.0 git-svn-id: https://svn.dealii.org/trunk@28783 0785d39b-7218-0410-832d-ea1e28bc413d --- 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