From: Daniel Arndt Date: Fri, 27 Mar 2020 16:19:57 +0000 (-0400) Subject: Remove Triangulation::set_manifold() X-Git-Tag: v9.2.0-rc1~345^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c81e2df7fc6ec33a15b198f84a52a7c500e607;p=dealii.git Remove Triangulation::set_manifold() --- diff --git a/doc/news/changes/incompatibilities/20200327DanielArndt-2 b/doc/news/changes/incompatibilities/20200327DanielArndt-2 new file mode 100644 index 0000000000..eef0d12b1b --- /dev/null +++ b/doc/news/changes/incompatibilities/20200327DanielArndt-2 @@ -0,0 +1,4 @@ +Removed: The deprecated member function Triangulation::set_manifold() taking +one parameter has been removed. Use Triangulation::reset_manifold() instead. +
+(Daniel Arndt, 2020/03/27) diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index b8902f7225..5866fd2188 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1630,25 +1630,6 @@ public: set_manifold(const types::manifold_id number, const Manifold &manifold_object); - - /** - * Reset those parts of the triangulation with the given manifold_id - * to use a FlatManifold object. This is the default state of a - * non-curved triangulation, and undoes assignment of a different - * Manifold object by the function of same name and two arguments. - * - * @ingroup manifold - * - * @deprecated This method has been deprecated. Use - * Triangulation::reset_manifold() instead. - * - * @see - * @ref GlossManifoldIndicator "Glossary entry on manifold indicators" - */ - DEAL_II_DEPRECATED - void - set_manifold(const types::manifold_id number); - /** * Reset those parts of the triangulation with the given * @p manifold_number to use a FlatManifold object. This is the diff --git a/source/grid/tria.cc b/source/grid/tria.cc index bce97ba251..98f8d49917 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -10251,14 +10251,6 @@ Triangulation::set_manifold( -template -void -Triangulation::set_manifold(const types::manifold_id m_number) -{ - reset_manifold(m_number); -} - - template void Triangulation::reset_manifold(const types::manifold_id m_number) diff --git a/tests/numerics/project_common.h b/tests/numerics/project_common.h index dee826d719..9aa43ed9ec 100644 --- a/tests/numerics/project_common.h +++ b/tests/numerics/project_common.h @@ -209,7 +209,7 @@ test_with_wrong_face_orientation(const FiniteElement &fe, { Triangulation triangulation; GridGenerator::hyper_ball(triangulation); - triangulation.set_manifold(0); + triangulation.reset_manifold(0); typename Triangulation::active_cell_iterator cell = triangulation.begin_active(); std::advance(cell, i);