From 49878514900942863b88cb33726ffe89304622ee Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 7 Jun 2021 12:09:18 -0400 Subject: [PATCH] Remove deprecated FESeries::Fourier and FESeries::Legendre constructors --- .../incompatibilities/20210607DanielArndt | 4 +++ include/deal.II/fe/fe_series.h | 27 ------------------- source/fe/fe_series_fourier.cc | 14 ---------- source/fe/fe_series_legendre.cc | 14 ---------- 4 files changed, 4 insertions(+), 55 deletions(-) create mode 100644 doc/news/changes/incompatibilities/20210607DanielArndt diff --git a/doc/news/changes/incompatibilities/20210607DanielArndt b/doc/news/changes/incompatibilities/20210607DanielArndt new file mode 100644 index 0000000000..b84a3d0344 --- /dev/null +++ b/doc/news/changes/incompatibilities/20210607DanielArndt @@ -0,0 +1,4 @@ +Removed: The deprecated constructors for FESeries::Fourier and +FESeries::Legendre have been removed. +
+(Daniel Arndt, 2021/06/07) diff --git a/include/deal.II/fe/fe_series.h b/include/deal.II/fe/fe_series.h index 2faa23312b..9b899a325e 100644 --- a/include/deal.II/fe/fe_series.h +++ b/include/deal.II/fe/fe_series.h @@ -113,20 +113,6 @@ namespace FESeries const hp::QCollection & q_collection, const unsigned int component = numbers::invalid_unsigned_int); - /** - * A non-default constructor. The @p n_coefficients_per_direction defines the - * number of modes in each direction, @p fe_collection is the hp::FECollection - * for which expansion will be used and @p q_collection is the hp::QCollection - * used to integrate the expansion for each FiniteElement - * in @p fe_collection. - * - * @deprecated Use a different constructor instead. - */ - DEAL_II_DEPRECATED - Fourier(const unsigned int n_coefficients_per_direction, - const hp::FECollection &fe_collection, - const hp::QCollection & q_collection); - /** * Calculate @p fourier_coefficients of the cell vector field given by * @p local_dof_values corresponding to FiniteElement with @@ -297,19 +283,6 @@ namespace FESeries const hp::QCollection & q_collection, const unsigned int component = numbers::invalid_unsigned_int); - /** - * A non-default constructor. The @p size_in_each_direction defines the number - * of coefficients in each direction, @p fe_collection is the hp::FECollection - * for which expansion will be used and @p q_collection is the hp::QCollection - * used to integrate the expansion for each FiniteElement in @p fe_collection. - * - * @deprecated Use a different constructor instead. - */ - DEAL_II_DEPRECATED - Legendre(const unsigned int n_coefficients_per_direction, - const hp::FECollection &fe_collection, - const hp::QCollection & q_collection); - /** * Calculate @p legendre_coefficients of the cell vector field given by * @p local_dof_values corresponding to FiniteElement with diff --git a/source/fe/fe_series_fourier.cc b/source/fe/fe_series_fourier.cc index a50029751c..cbd57264a6 100644 --- a/source/fe/fe_series_fourier.cc +++ b/source/fe/fe_series_fourier.cc @@ -222,20 +222,6 @@ namespace FESeries - template - Fourier::Fourier( - const unsigned int n_coefficients_per_direction, - const hp::FECollection &fe_collection, - const hp::QCollection & q_collection) - : Fourier( - std::vector(fe_collection.size(), - n_coefficients_per_direction), - fe_collection, - q_collection) - {} - - - template inline bool Fourier:: diff --git a/source/fe/fe_series_legendre.cc b/source/fe/fe_series_legendre.cc index 1003b86777..14200e6f52 100644 --- a/source/fe/fe_series_legendre.cc +++ b/source/fe/fe_series_legendre.cc @@ -231,20 +231,6 @@ namespace FESeries - template - Legendre::Legendre( - const unsigned int n_coefficients_per_direction, - const hp::FECollection &fe_collection, - const hp::QCollection & q_collection) - : Legendre( - std::vector(fe_collection.size(), - n_coefficients_per_direction), - fe_collection, - q_collection) - {} - - - template inline bool Legendre:: -- 2.39.5