From: David Wells Date: Wed, 7 Aug 2019 15:35:44 +0000 (-0600) Subject: Explicitly declare some specializations. X-Git-Tag: v9.2.0-rc1~1305^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74e28c5593c5cef7e74778e1b82e18172d77bac0;p=dealii.git Explicitly declare some specializations. --- diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 38d40ff9af..095cbb28a7 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -3000,6 +3000,24 @@ namespace GridTools namespace GridTools { + // declare specializations + template <> + double + cell_measure<1>(const std::vector> &, + const unsigned int (&)[GeometryInfo<1>::vertices_per_cell]); + + template <> + double + cell_measure<2>(const std::vector> &, + const unsigned int (&)[GeometryInfo<2>::vertices_per_cell]); + + template <> + double + cell_measure<3>(const std::vector> &, + const unsigned int (&)[GeometryInfo<3>::vertices_per_cell]); + + + template double cell_measure(const T &, ...) @@ -3008,6 +3026,8 @@ namespace GridTools return std::numeric_limits::quiet_NaN(); } + + template void transform(const Predicate & predicate,