From: Wolfgang Bangerth Date: Thu, 7 Nov 2024 22:33:26 +0000 (-0700) Subject: Deprecate the ConsensusAlgorithms::Payload class. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1e49b9dc98c409243a1685b46741b4dca0f3d4f;p=dealii.git Deprecate the ConsensusAlgorithms::Payload class. --- diff --git a/include/deal.II/base/mpi_consensus_algorithms.h b/include/deal.II/base/mpi_consensus_algorithms.h index 14c3503c78..089f44932c 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.h +++ b/include/deal.II/base/mpi_consensus_algorithms.h @@ -151,9 +151,14 @@ namespace Utilities * (1) deliver only references to empty vectors (of size 0) the data * to be sent can be inserted to or read from, and (2) communicate * these vectors blindly. + * + * @deprecated Instead of deriving a class from this base class and + * providing a corresponding object to one of the run() functions, + * use the free functions in this namespace that take function + * objects as arguments. */ template - class Process + class DEAL_II_DEPRECATED_EARLY Process { public: /** @@ -249,7 +254,13 @@ namespace Utilities * This version of the run() function simply unpacks the functions * packaged in `process` and calls the version of the run() function * that takes a number of `std::function` arguments. + * + * @deprecated Instead of deriving a class from the Process base class and + * providing a corresponding object to this function, + * use the other run() function in this class that takes function + * objects as arguments. */ + DEAL_II_DEPRECATED_EARLY std::vector run(Process &process, const MPI_Comm comm);