]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove use_vector_data_exchanger_full 11453/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 2 Jan 2021 10:25:58 +0000 (11:25 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 2 Jan 2021 10:25:58 +0000 (11:25 +0100)
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/matrix_free.templates.h

index df9daf21f48be220bc5979a29745604fb22b34da..85ed911cd3b21f5da1b3ad0841116a434429d585 100644 (file)
@@ -245,7 +245,6 @@ public:
       , cell_vectorization_categories_strict(
           cell_vectorization_categories_strict)
       , communicator_sm(MPI_COMM_SELF)
-      , use_vector_data_exchanger_full(false)
     {}
 
     /**
@@ -272,7 +271,6 @@ public:
       , cell_vectorization_categories_strict(
           other.cell_vectorization_categories_strict)
       , communicator_sm(other.communicator_sm)
-      , use_vector_data_exchanger_full(other.use_vector_data_exchanger_full)
     {}
 
     // remove with level_mg_handler
@@ -302,8 +300,7 @@ public:
       cell_vectorization_category   = other.cell_vectorization_category;
       cell_vectorization_categories_strict =
         other.cell_vectorization_categories_strict;
-      communicator_sm                = other.communicator_sm;
-      use_vector_data_exchanger_full = other.use_vector_data_exchanger_full;
+      communicator_sm = other.communicator_sm;
 
       return *this;
     }
@@ -541,13 +538,6 @@ public:
      * Shared-memory MPI communicator. Default: MPI_COMM_SELF.
      */
     MPI_Comm communicator_sm;
-
-    /**
-     * Experimental: flag to switch between
-     * internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper and
-     * internal::MatrixFreeFunctions::VectorDataExchange::Full.
-     */
-    bool use_vector_data_exchanger_full;
   };
 
   /**
index de7aac67612f428188f8fe0727ac22f3571406ec..32ad86d9fc01f58eee9c46b8c65f8e30367b1b77 100644 (file)
@@ -1508,7 +1508,7 @@ MatrixFree<dim, Number, VectorizedArrayType>::initialize_indices(
     dof_info,
     face_setup,
     constraint_values,
-    additional_data.use_vector_data_exchanger_full);
+    additional_data.communicator_sm != MPI_COMM_SELF);
 
   // set constraint pool from the std::map and reorder the indices
   std::vector<const std::vector<double> *> constraints(
@@ -1670,7 +1670,7 @@ MatrixFree<dim, Number, VectorizedArrayType>::initialize_indices(
           face_setup.inner_ghost_faces,
           is_fe_dg[count++] && additional_data.hold_all_faces_to_owned_cells,
           task_info.communicator_sm,
-          additional_data.use_vector_data_exchanger_full);
+          task_info.communicator_sm != MPI_COMM_SELF);
     }
 
   for (auto &di : dof_info)

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.