From 84cb72e4fecc97e011a4885d2ab46b441c55c6b1 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 1 Jul 2023 11:24:28 -0400 Subject: [PATCH] Remove deprecated TriaAccessor::number_of_children() --- include/deal.II/grid/tria_accessor.h | 23 ---------------- .../deal.II/grid/tria_accessor.templates.h | 27 ------------------- 2 files changed, 50 deletions(-) diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 7cd996b8d7..d08e174c63 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -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. */ diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h index d063945984..37f527744b 100644 --- a/include/deal.II/grid/tria_accessor.templates.h +++ b/include/deal.II/grid/tria_accessor.templates.h @@ -1969,15 +1969,6 @@ TriaAccessor::max_refinement_depth() const -template -unsigned int -TriaAccessor::number_of_children() const -{ - return n_active_descendants(); -} - - - template unsigned int TriaAccessor::n_active_descendants() const @@ -2751,15 +2742,6 @@ TriaAccessor<0, dim, spacedim>::n_children() -template -inline unsigned int -TriaAccessor<0, dim, spacedim>::number_of_children() -{ - return 0; -} - - - template inline unsigned int TriaAccessor<0, dim, spacedim>::n_active_descendants() @@ -3205,15 +3187,6 @@ TriaAccessor<0, 1, spacedim>::n_children() -template -inline unsigned int -TriaAccessor<0, 1, spacedim>::number_of_children() -{ - return 0; -} - - - template inline unsigned int TriaAccessor<0, 1, spacedim>::n_active_descendants() -- 2.39.5