]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function Triangulation::clear_user_pointers.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 4 Jan 2015 21:38:09 +0000 (15:38 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 9 Jan 2015 06:56:02 +0000 (00:56 -0600)
doc/news/changes.h
include/deal.II/grid/tria.h
source/grid/tria.cc
tests/deal.II/user_data_01.cc

index 71f82d7464118b5a8e72f0fd5350f3f002c3e0c7..e793cde2bf1e68f9cd7395b30cfa749bd153e7f3 100644 (file)
@@ -101,6 +101,7 @@ inconvenience this causes.
 - Deprecated members of namespace types.
 - Namespace deal_II_numbers.
 - Triangulation::distort_random.
+- Triangulation::clear_user_pointers.
 
 <!-- ----------- GENERAL IMPROVEMENTS ----------------- -->
 
index 92126bf26964ccd1db645d0e1ad142ccdc749f27..891f9a91646b41fb38952bd9fb71b33f4ed225d9 100644 (file)
@@ -2096,14 +2096,6 @@ public:
    */
   void clear_user_data ();
 
-  /**
-   * @deprecated User clear_user_data() instead.
-   *
-   * Clear all user pointers.  See also
-   * @ref GlossUserData.
-   */
-  void clear_user_pointers () DEAL_II_DEPRECATED;
-
   /**
    * Save all user indices. The output vector is resized if necessary. See
    * also
index e79cb9fa4e982634c333ce5dee52007a90c8a06f..d7ab4f648ab1c48e79657d02486228d9b4e7897e 100644 (file)
@@ -9438,15 +9438,6 @@ void Triangulation<dim,spacedim>::clear_user_flags ()
 
 
 
-template <int dim, int spacedim>
-void Triangulation<dim,spacedim>::clear_user_pointers ()
-{
-  clear_user_data();
-}
-
-
-
-
 template <int dim, int spacedim>
 void Triangulation<dim, spacedim>::save_user_flags (std::ostream &out) const
 {
index 962901eb6e4ce0788f1037f2830daf774dfbe0ec..0651ab7b79f6c29f15ce775b47d4c6cc91ed3af1 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2007 - 2013 by the deal.II authors
+// Copyright (C) 2007 - 2013, 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -139,7 +139,7 @@ user_pointers(Triangulation<dim> &tr)
   // Fill user pointers with some
   // nonsense. clear them first
   Triangulation<dim> *p = &tr;
-  tr.clear_user_pointers();
+  tr.clear_user_data();
   for (typename Triangulation<dim>::cell_iterator it = tr.begin();
        it != tr.end(); ++it)
     it->set_user_pointer(p++);
@@ -279,7 +279,7 @@ void check()
   tr.refine_global(2);
 
   user_pointers(tr);
-  tr.clear_user_pointers();
+  tr.clear_user_data();
   user_indices(tr);
 }
 

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.