]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated FETools::lexicographic/hierarchc_to_hierarchic/lexicographic_numbering 12386/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 3 Jun 2021 19:54:57 +0000 (15:54 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 3 Jun 2021 21:45:12 +0000 (17:45 -0400)
doc/news/changes/incompatibilities/20210603DanielArndt-2 [new file with mode: 0644]
include/deal.II/fe/fe_tools.h
include/deal.II/fe/fe_tools.templates.h
source/fe/fe_tools.cc
source/fe/fe_tools.inst.in

diff --git a/doc/news/changes/incompatibilities/20210603DanielArndt-2 b/doc/news/changes/incompatibilities/20210603DanielArndt-2
new file mode 100644 (file)
index 0000000..4ecc407
--- /dev/null
@@ -0,0 +1,5 @@
+Removed: The deprecated overloads of 
+FETools::lexicographic_to_hierarchic_numbering() and
+FETools::hierarchic_to_lexicographic_numbering() have been removed.
+<br>
+(Daniel Arndt, 2021/06/03)
index 70134cc2fc0dd9b104d943f94dc4566bef72fad6..615bdb77c9bfae9cfac3dc98e887527049594660 100644 (file)
@@ -880,38 +880,6 @@ namespace FETools
   std::vector<unsigned int>
   hierarchic_to_lexicographic_numbering(unsigned int degree);
 
-  /**
-   * Like the previous function but instead of returning its result as a value
-   * return it through the last argument.
-   *
-   * @deprecated Use the function that returns the renumbering in a vector
-   * instead.
-   */
-  template <int dim>
-  DEAL_II_DEPRECATED void
-  hierarchic_to_lexicographic_numbering(unsigned int               degree,
-                                        std::vector<unsigned int> &h2l);
-
-  /**
-   * Like the previous functions but using a FiniteElementData instead of the
-   * polynomial degree.
-   *
-   * @deprecated Use the function that returns the renumbering in a vector and
-   * uses the degree of the basis as an argument instead.
-   */
-  template <int dim>
-  DEAL_II_DEPRECATED void
-  hierarchic_to_lexicographic_numbering(const FiniteElementData<dim> &fe_data,
-                                        std::vector<unsigned int> &   h2l);
-
-  /**
-   * @deprecated Use the function that uses the degree of the basis as an
-   * argument instead.
-   */
-  template <int dim>
-  DEAL_II_DEPRECATED std::vector<unsigned int>
-                     hierarchic_to_lexicographic_numbering(const FiniteElementData<dim> &fe_data);
-
   /**
    * This is the reverse function to the above one, generating the map from
    * the lexicographic to the hierarchical numbering for a given polynomial
@@ -922,24 +890,6 @@ namespace FETools
   std::vector<unsigned int>
   lexicographic_to_hierarchic_numbering(unsigned int degree);
 
-  /**
-   * @deprecated Use the function that returns the renumbering in a vector and
-   * uses the degree of the basis as an argument instead.
-   */
-  template <int dim>
-  DEAL_II_DEPRECATED void
-  lexicographic_to_hierarchic_numbering(const FiniteElementData<dim> &fe_data,
-                                        std::vector<unsigned int> &   l2h);
-
-  /**
-   * @deprecated Use the function that uses the degree of the basis as an
-   * argument instead.
-   */
-  template <int dim>
-  DEAL_II_DEPRECATED std::vector<unsigned int>
-                     lexicographic_to_hierarchic_numbering(const FiniteElementData<dim> &fe_data);
-
-
   /**
    * A namespace that contains functions that help setting up internal
    * data structures when implementing FiniteElement which are build
index 7ffc2beeb959acd45ec9ee3fbd6a0bb38495fe9f..a3ed30800b6d8883296ee930918fa18c6be44868 100644 (file)
@@ -3152,39 +3152,6 @@ namespace FETools
 
 
 
-  template <int dim>
-  void
-  hierarchic_to_lexicographic_numbering(const unsigned int         degree,
-                                        std::vector<unsigned int> &h2l)
-  {
-    AssertDimension(h2l.size(), Utilities::fixed_power<dim>(degree + 1));
-    h2l = hierarchic_to_lexicographic_numbering<dim>(degree);
-  }
-
-
-
-  template <int dim>
-  void
-  hierarchic_to_lexicographic_numbering(const FiniteElementData<dim> &fe,
-                                        std::vector<unsigned int> &   h2l)
-  {
-    Assert(h2l.size() == fe.n_dofs_per_cell(),
-           ExcDimensionMismatch(h2l.size(), fe.n_dofs_per_cell()));
-    hierarchic_to_lexicographic_numbering<dim>(fe.n_dofs_per_line() + 1, h2l);
-  }
-
-
-
-  template <int dim>
-  std::vector<unsigned int>
-  hierarchic_to_lexicographic_numbering(const FiniteElementData<dim> &fe)
-  {
-    Assert(fe.n_components() == 1, ExcInvalidFE());
-    return hierarchic_to_lexicographic_numbering<dim>(fe.n_dofs_per_line() + 1);
-  }
-
-
-
   template <int dim>
   std::vector<unsigned int>
   lexicographic_to_hierarchic_numbering(const unsigned int degree)
@@ -3192,27 +3159,6 @@ namespace FETools
     return Utilities::invert_permutation(
       hierarchic_to_lexicographic_numbering<dim>(degree));
   }
-
-
-
-  template <int dim>
-  void
-  lexicographic_to_hierarchic_numbering(const FiniteElementData<dim> &fe,
-                                        std::vector<unsigned int> &   l2h)
-  {
-    l2h = lexicographic_to_hierarchic_numbering(fe);
-  }
-
-
-
-  template <int dim>
-  std::vector<unsigned int>
-  lexicographic_to_hierarchic_numbering(const FiniteElementData<dim> &fe)
-  {
-    return Utilities::invert_permutation(
-      hierarchic_to_lexicographic_numbering(fe));
-  }
-
 } // namespace FETools
 
 
index eaa4626115630fb0f0b20494c00f42abd2bf0b69..1c3029d5d3a91f2da82ac8cfef5d2985f1cdc678 100644 (file)
@@ -133,10 +133,6 @@ namespace FETools
     return std::make_unique<FE_DGQArbitraryNodes<3>>(quad);
   }
 
-  template void
-  hierarchic_to_lexicographic_numbering<0>(unsigned int,
-                                           std::vector<unsigned int> &);
-
   template std::vector<unsigned int>
   hierarchic_to_lexicographic_numbering<0>(unsigned int);
 
index 981a5bc527fcf743de9c59188edbc9a5851d853c..92299892dab306ba534dbd23f9d2fbfe8c503d48 100644 (file)
@@ -254,35 +254,12 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         FullMatrix<double> &);
 #  endif
 
-      template void
-      hierarchic_to_lexicographic_numbering<deal_II_dimension>(
-        unsigned int,
-        std::vector<unsigned int> &);
-
-      template void
-      hierarchic_to_lexicographic_numbering<deal_II_dimension>(
-        const FiniteElementData<deal_II_dimension> &,
-        std::vector<unsigned int> &);
-
-      template void
-      lexicographic_to_hierarchic_numbering<deal_II_dimension>(
-        const FiniteElementData<deal_II_dimension> &,
-        std::vector<unsigned int> &);
-
       template std::vector<unsigned int>
       hierarchic_to_lexicographic_numbering<deal_II_dimension>(unsigned int);
 
       template std::vector<unsigned int>
       lexicographic_to_hierarchic_numbering<deal_II_dimension>(unsigned int);
 
-      template std::vector<unsigned int>
-      hierarchic_to_lexicographic_numbering<deal_II_dimension>(
-        const FiniteElementData<deal_II_dimension> &);
-
-      template std::vector<unsigned int>
-      lexicographic_to_hierarchic_numbering<deal_II_dimension>(
-        const FiniteElementData<deal_II_dimension> &);
-
 #endif
     \}
   }

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.