From: David Wells Date: Thu, 21 Jul 2022 14:38:43 +0000 (-0400) Subject: Make ConsensusAlgorithm deprecations early deprecated instead. X-Git-Tag: v9.4.1~4^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14156%2Fhead;p=dealii.git Make ConsensusAlgorithm deprecations early deprecated instead. They should have always been early-deprecated. This is worth doing now (for 9.4.1) because these deprecation warnings show up when we include some headers (like mpi_noncontiguous_partitioner.h). --- diff --git a/include/deal.II/base/mpi_consensus_algorithms.h b/include/deal.II/base/mpi_consensus_algorithms.h index ce6c84a42b..44c0952c9a 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.h +++ b/include/deal.II/base/mpi_consensus_algorithms.h @@ -250,7 +250,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Interface(Process &process, const MPI_Comm & comm); @@ -269,7 +269,7 @@ namespace Utilities * been provided to the non-default constructor. Use the run() * functions taking arguments instead. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY std::vector run(); @@ -325,7 +325,7 @@ namespace Utilities * and the run() function without argument. It is a `nullptr` * otherwise */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Process *process; /** @@ -334,7 +334,7 @@ namespace Utilities * This member variable is only used in the deprecated constructor * and the run() function without argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY MPI_Comm comm; }; @@ -373,7 +373,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY NBX(Process &process, const MPI_Comm &comm); /** @@ -617,7 +617,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY PEX(Process &process, const MPI_Comm &comm); /** @@ -830,7 +830,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Serial(Process &process, const MPI_Comm &comm); // Import the declarations from the base class. @@ -962,7 +962,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Selector(Process &process, const MPI_Comm & comm); @@ -1083,7 +1083,7 @@ namespace Utilities * own implementation but can register lambda functions directly. */ template - class DEAL_II_DEPRECATED AnonymousProcess + class DEAL_II_DEPRECATED_EARLY AnonymousProcess : public Process { public: