From: Daniel Arndt Date: Sun, 14 May 2017 09:22:47 +0000 (+0200) Subject: Remove Utilities::System::job_supports_mpi() X-Git-Tag: v9.0.0-rc1~1594^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ccc30011c84b2459418e040999a13b3ceac09af;p=dealii.git Remove Utilities::System::job_supports_mpi() --- diff --git a/doc/news/changes/incompatibilities/20170514DanielArndt b/doc/news/changes/incompatibilities/20170514DanielArndt new file mode 100644 index 0000000000..0f9e394ce1 --- /dev/null +++ b/doc/news/changes/incompatibilities/20170514DanielArndt @@ -0,0 +1,4 @@ +Changed: The deprecated function Utilities::System::job_supports_mpi() +has been removed. Use Utilities::MPI::job_supports_mpi() instead. +
+(Daniel Arndt, 2017/05/14) diff --git a/include/deal.II/base/utilities.h b/include/deal.II/base/utilities.h index d7aa997490..4ea4ace924 100644 --- a/include/deal.II/base/utilities.h +++ b/include/deal.II/base/utilities.h @@ -450,11 +450,6 @@ namespace Utilities * leaving this task to the calling site. */ void posix_memalign (void **memptr, size_t alignment, size_t size); - - /** - * @deprecated Use Utilities::MPI::job_supports_mpi() instead. - */ - bool job_supports_mpi () DEAL_II_DEPRECATED; } diff --git a/source/base/partitioner.cc b/source/base/partitioner.cc index 28e96f5048..b4fd341a53 100644 --- a/source/base/partitioner.cc +++ b/source/base/partitioner.cc @@ -105,7 +105,7 @@ namespace Utilities void Partitioner::set_owned_indices (const IndexSet &locally_owned_indices) { - if (Utilities::System::job_supports_mpi() == true) + if (Utilities::MPI::job_supports_mpi() == true) { my_pid = Utilities::MPI::this_mpi_process(communicator); n_procs = Utilities::MPI::n_mpi_processes(communicator);