From: Wolfgang Bangerth Date: Thu, 10 Dec 2015 12:49:12 +0000 (-0600) Subject: Use the new function Triangulation::get_tria(). X-Git-Tag: v8.4.0-rc2~165^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0eb0400da627aa201bd8c30b223736b0f61c334;p=dealii.git Use the new function Triangulation::get_tria(). --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 5dacc7aed3..3cdf44852a 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -4129,71 +4129,6 @@ namespace GridGenerator - // This anonymous namespace contains utility functions to extract the - // triangulation from any container such as DoFHandler - // and the like - namespace - { - template - const Triangulation & - get_tria(const Triangulation &tria) - { - return tria; - } - - template - const Triangulation & - get_tria(const parallel::distributed::Triangulation &tria) - { - return tria; - } - - template - const Triangulation & - get_tria(const parallel::shared::Triangulation &tria) - { - return tria; - } - - template class Container, int spacedim> - const Triangulation & - get_tria(const Container &container) - { - return container.get_tria(); - } - - - template - Triangulation & - get_tria(Triangulation &tria) - { - return tria; - } - - template - Triangulation & - get_tria(parallel::distributed::Triangulation &tria) - { - return tria; - } - - template - Triangulation & - get_tria(parallel::shared::Triangulation &tria) - { - return tria; - } - - template class Container, int spacedim> - const Triangulation & - get_tria(Container &container) - { - return container.get_tria(); - } - } - - - template