From: Denis Davydov Date: Sun, 26 Mar 2017 19:33:58 +0000 (+0200) Subject: matrix-free: remove depreicated mpi_communicator X-Git-Tag: v9.0.0-rc1~1775^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc0803e511c79e59f40422ab28ba0c419a03a774;p=dealii.git matrix-free: remove depreicated mpi_communicator --- diff --git a/include/deal.II/matrix_free/matrix_free.h b/include/deal.II/matrix_free/matrix_free.h index 3d58469299..656b2b94ba 100644 --- a/include/deal.II/matrix_free/matrix_free.h +++ b/include/deal.II/matrix_free/matrix_free.h @@ -180,7 +180,6 @@ public: const bool initialize_indices = true, const bool initialize_mapping = true) : - mpi_communicator (MPI_COMM_SELF), tasks_parallel_scheme (tasks_parallel_scheme), tasks_block_size (tasks_block_size), mapping_update_flags (mapping_update_flags), @@ -190,41 +189,6 @@ public: initialize_mapping (initialize_mapping) {}; - /** - * Constructor for AdditionalData. - * - * @deprecated @p mpi_communicator should not be specified here - * since it is not used in the MatrixFree class. - */ - AdditionalData (const MPI_Comm mpi_communicator, - const TasksParallelScheme tasks_parallel_scheme = partition_partition, - const unsigned int tasks_block_size = 0, - const UpdateFlags mapping_update_flags = update_gradients | update_JxW_values, - const unsigned int level_mg_handler = numbers::invalid_unsigned_int, - const bool store_plain_indices = true, - const bool initialize_indices = true, - const bool initialize_mapping = true) - : - mpi_communicator (mpi_communicator), - tasks_parallel_scheme (tasks_parallel_scheme), - tasks_block_size (tasks_block_size), - mapping_update_flags (mapping_update_flags), - level_mg_handler (level_mg_handler), - store_plain_indices (store_plain_indices), - initialize_indices (initialize_indices), - initialize_mapping (initialize_mapping) - {} DEAL_II_DEPRECATED - - /** - * Set the MPI communicator that the parallel layout of the operator - * should be based upon. Defaults to MPI_COMM_SELF, but should be set to a - * communicator similar to the one used for a distributed triangulation in - * order to inform this class over all cells that are present. - * - * @deprecated This variable is not used anymore. The @p mpi_communicator - * is automatically set to the one used by the triangulation. - */ - MPI_Comm mpi_communicator DEAL_II_DEPRECATED; /** * Set the scheme for task parallelism. There are four options available.