]> https://gitweb.dealii.org/ - dealii.git/commitdiff
matrix-free: remove depreicated mpi_communicator
authorDenis Davydov <davydden@gmail.com>
Sun, 26 Mar 2017 19:33:58 +0000 (21:33 +0200)
committerDenis Davydov <davydden@gmail.com>
Sun, 26 Mar 2017 19:33:58 +0000 (21:33 +0200)
include/deal.II/matrix_free/matrix_free.h

index 3d584692993de9ac05e00fc5ae3bac2c97e832a6..656b2b94baf97d98a16c3eb055d528d24333e84c 100644 (file)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.