]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated TriaAccessor::number_of_children()
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 1 Jul 2023 15:24:28 +0000 (11:24 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 3 Jul 2023 21:51:15 +0000 (17:51 -0400)
include/deal.II/grid/tria_accessor.h
include/deal.II/grid/tria_accessor.templates.h

index 7cd996b8d7c6b1a75b47cf99ba045d03ba10ed00..d08e174c63c3f7fbb88260f27f3d23d1b6dd31a1 100644 (file)
@@ -1033,13 +1033,6 @@ public:
   unsigned int
   n_children() const;
 
-  /**
-   * @deprecated Use n_active_descendants() instead.
-   */
-  DEAL_II_DEPRECATED
-  unsigned int
-  number_of_children() const;
-
   /**
    * Compute and return the number of active descendants of this objects. For
    * example, if all of the eight children of a hex are further refined
@@ -2206,14 +2199,6 @@ public:
   static unsigned int
   n_active_descendants();
 
-  /**
-   * @deprecated Use n_active_descendants() instead.
-   */
-  DEAL_II_DEPRECATED
-  static unsigned int
-  number_of_children();
-
-
   /**
    * Return the number of times that this object is refined. Always 0.
    */
@@ -2881,14 +2866,6 @@ public:
   static unsigned int
   n_active_descendants();
 
-  /**
-   * @deprecated Use n_active_descendants() instead.
-   */
-  DEAL_II_DEPRECATED
-  static unsigned int
-  number_of_children();
-
-
   /**
    * Return the number of times that this object is refined. Always 0.
    */
index d063945984d7d2831816948c6b3ca58a6d5dbbbf..37f527744b0d9a72014d6273c855967a5846ba1d 100644 (file)
@@ -1969,15 +1969,6 @@ TriaAccessor<structdim, dim, spacedim>::max_refinement_depth() const
 
 
 
-template <int structdim, int dim, int spacedim>
-unsigned int
-TriaAccessor<structdim, dim, spacedim>::number_of_children() const
-{
-  return n_active_descendants();
-}
-
-
-
 template <int structdim, int dim, int spacedim>
 unsigned int
 TriaAccessor<structdim, dim, spacedim>::n_active_descendants() const
@@ -2751,15 +2742,6 @@ TriaAccessor<0, dim, spacedim>::n_children()
 
 
 
-template <int dim, int spacedim>
-inline unsigned int
-TriaAccessor<0, dim, spacedim>::number_of_children()
-{
-  return 0;
-}
-
-
-
 template <int dim, int spacedim>
 inline unsigned int
 TriaAccessor<0, dim, spacedim>::n_active_descendants()
@@ -3205,15 +3187,6 @@ TriaAccessor<0, 1, spacedim>::n_children()
 
 
 
-template <int spacedim>
-inline unsigned int
-TriaAccessor<0, 1, spacedim>::number_of_children()
-{
-  return 0;
-}
-
-
-
 template <int spacedim>
 inline unsigned int
 TriaAccessor<0, 1, spacedim>::n_active_descendants()

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.