]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove Triangulation::set_manifold() 9752/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 27 Mar 2020 16:19:57 +0000 (12:19 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 27 Mar 2020 18:20:49 +0000 (14:20 -0400)
doc/news/changes/incompatibilities/20200327DanielArndt-2 [new file with mode: 0644]
include/deal.II/grid/tria.h
source/grid/tria.cc
tests/numerics/project_common.h

diff --git a/doc/news/changes/incompatibilities/20200327DanielArndt-2 b/doc/news/changes/incompatibilities/20200327DanielArndt-2
new file mode 100644 (file)
index 0000000..eef0d12
--- /dev/null
@@ -0,0 +1,4 @@
+Removed: The deprecated member function Triangulation::set_manifold() taking
+one parameter has been removed. Use Triangulation::reset_manifold() instead.
+<br>
+(Daniel Arndt, 2020/03/27)
index b8902f7225838c14e18cebc40a97184f5cb0106f..5866fd21884bd1cdf4a6b05bbc033729e7336206 100644 (file)
@@ -1630,25 +1630,6 @@ public:
   set_manifold(const types::manifold_id       number,
                const Manifold<dim, spacedim> &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
index bce97ba2515d744d4df1caf74b4aad9ae18eda6f..98f8d49917499cda190d4f2bc03d723b9e49d8de 100644 (file)
@@ -10251,14 +10251,6 @@ Triangulation<dim, spacedim>::set_manifold(
 
 
 
-template <int dim, int spacedim>
-void
-Triangulation<dim, spacedim>::set_manifold(const types::manifold_id m_number)
-{
-  reset_manifold(m_number);
-}
-
-
 template <int dim, int spacedim>
 void
 Triangulation<dim, spacedim>::reset_manifold(const types::manifold_id m_number)
index dee826d719f8f036abc11338813b7bba8044decb..9aa43ed9ec02112327a285c0f9a64df4c091063e 100644 (file)
@@ -209,7 +209,7 @@ test_with_wrong_face_orientation(const FiniteElement<dim> &fe,
     {
       Triangulation<dim> triangulation;
       GridGenerator::hyper_ball(triangulation);
-      triangulation.set_manifold(0);
+      triangulation.reset_manifold(0);
       typename Triangulation<dim>::active_cell_iterator cell =
         triangulation.begin_active();
       std::advance(cell, i);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.