From b9dd958aee1c0c285e0c7c88a9c4b0919fc986a5 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Mon, 30 Nov 2020 11:46:18 -0700 Subject: [PATCH] Deprecate Legacy classes. --- include/deal.II/distributed/solution_transfer.h | 10 ++++------ include/deal.II/numerics/data_out.h | 6 ++---- include/deal.II/numerics/data_out_dof_data.h | 8 +++----- include/deal.II/numerics/data_out_faces.h | 7 +++---- include/deal.II/numerics/data_out_rotation.h | 9 ++++----- include/deal.II/numerics/fe_field_function.h | 8 +++----- include/deal.II/numerics/solution_transfer.h | 8 +++----- 7 files changed, 22 insertions(+), 34 deletions(-) diff --git a/include/deal.II/distributed/solution_transfer.h b/include/deal.II/distributed/solution_transfer.h index c1ae3d04b4..02706b2b2a 100644 --- a/include/deal.II/distributed/solution_transfer.h +++ b/include/deal.II/distributed/solution_transfer.h @@ -382,16 +382,14 @@ namespace Legacy namespace distributed { /** - * The template arguments of the original - * dealii::parallel::distributed::SolutionTransfer class will change in a - * future release. If for some reason, you need a code that is compatible - * with deal.II 9.3 and the subsequent release, use this alias instead. + * @deprecated Use dealii::parallel::distributed::SolutionTransfer + * without the DoFHandlerType template instead. */ template > - using SolutionTransfer = dealii::parallel::distributed:: - SolutionTransfer; + using SolutionTransfer DEAL_II_DEPRECATED = dealii::parallel:: + distributed::SolutionTransfer; } // namespace distributed } // namespace parallel } // namespace Legacy diff --git a/include/deal.II/numerics/data_out.h b/include/deal.II/numerics/data_out.h index 5a3278274c..1541b24a92 100644 --- a/include/deal.II/numerics/data_out.h +++ b/include/deal.II/numerics/data_out.h @@ -519,13 +519,11 @@ private: namespace Legacy { /** - * The template arguments of the original dealii::DataOut class will - * change in a future release. If for some reason, you need a code that is - * compatible with deal.II 9.3 and the subsequent release, use this alias + * @deprecated Use dealii::DataOut without the DoFHandlerType template * instead. */ template > - using DataOut = dealii::DataOut; + using DataOut DEAL_II_DEPRECATED = dealii::DataOut; } // namespace Legacy diff --git a/include/deal.II/numerics/data_out_dof_data.h b/include/deal.II/numerics/data_out_dof_data.h index a10fe588a2..e0e192bd16 100644 --- a/include/deal.II/numerics/data_out_dof_data.h +++ b/include/deal.II/numerics/data_out_dof_data.h @@ -1246,15 +1246,13 @@ DataOut_DoFData::merge_patches( namespace Legacy { /** - * The template arguments of the original dealii::DataOut_DoFData class will - * change in a future release. If for some reason, you need a code that is - * compatible with deal.II 9.3 and the subsequent release, use this alias - * instead. + * @deprecated Use dealii::DataOut_DoFData without the DoFHandlerType + * template instead. */ template - using DataOut_DoFData = + using DataOut_DoFData DEAL_II_DEPRECATED = dealii::DataOut_DoFData; } // namespace Legacy diff --git a/include/deal.II/numerics/data_out_faces.h b/include/deal.II/numerics/data_out_faces.h index e7061519cf..2e0cbff450 100644 --- a/include/deal.II/numerics/data_out_faces.h +++ b/include/deal.II/numerics/data_out_faces.h @@ -253,13 +253,12 @@ private: namespace Legacy { /** - * The template arguments of the original dealii::DataOutFaces class will - * change in a future release. If for some reason, you need a code that is - * compatible with deal.II 9.3 and the subsequent release, use this alias + * @deprecated Use dealii::DataOutFaces without the DoFHandlerType template * instead. */ template > - using DataOutFaces = dealii::DataOutFaces; + using DataOutFaces DEAL_II_DEPRECATED = + dealii::DataOutFaces; } // namespace Legacy diff --git a/include/deal.II/numerics/data_out_rotation.h b/include/deal.II/numerics/data_out_rotation.h index 93f47ee405..f267987375 100644 --- a/include/deal.II/numerics/data_out_rotation.h +++ b/include/deal.II/numerics/data_out_rotation.h @@ -218,13 +218,12 @@ private: namespace Legacy { /** - * The template arguments of the original dealii::DataOutRotation class will - * change in a future release. If for some reason, you need a code that is - * compatible with deal.II 9.3 and the subsequent release, use this alias - * instead. + * @deprecated Use dealii::DataOutRotation without the DoFHandlerType + * template instead. */ template > - using DataOutRotation = dealii::DataOutRotation; + using DataOutRotation DEAL_II_DEPRECATED = + dealii::DataOutRotation; } // namespace Legacy diff --git a/include/deal.II/numerics/fe_field_function.h b/include/deal.II/numerics/fe_field_function.h index 54db129796..c70fddbdcf 100644 --- a/include/deal.II/numerics/fe_field_function.h +++ b/include/deal.II/numerics/fe_field_function.h @@ -494,15 +494,13 @@ namespace Legacy namespace Functions { /** - * The template arguments of the original dealii::Functions::FEFieldFunction - * class will change in a future release. If for some reason, you need a - * code that is compatible with deal.II 9.3 and the subsequent release, use - * this alias instead. + * @deprecated Use dealii::Functions::FEFieldFunction without the + * DoFHandlerType template instead. */ template , typename VectorType = Vector> - using FEFieldFunction = + using FEFieldFunction DEAL_II_DEPRECATED = dealii::Functions::FEFieldFunction; } // namespace Functions } // namespace Legacy diff --git a/include/deal.II/numerics/solution_transfer.h b/include/deal.II/numerics/solution_transfer.h index 4a124e1a1e..9efc94d621 100644 --- a/include/deal.II/numerics/solution_transfer.h +++ b/include/deal.II/numerics/solution_transfer.h @@ -577,15 +577,13 @@ private: namespace Legacy { /** - * The template arguments of the original dealii::SolutionTransfer class will - * change in a future release. If for some reason, you need a code that is - * compatible with deal.II 9.3 and the subsequent release, use this alias - * instead. + * @deprecated Use dealii::SolutionTransfer without the DoFHandlerType + * template instead. */ template , typename DoFHandlerType = DoFHandler> - using SolutionTransfer = + using SolutionTransfer DEAL_II_DEPRECATED = dealii::SolutionTransfer; } // namespace Legacy -- 2.39.5