]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the naming of some function arguments. 15582/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jul 2023 02:54:40 +0000 (20:54 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jul 2023 02:54:40 +0000 (20:54 -0600)
include/deal.II/base/partitioner.h
source/base/partitioner.cc

index 693415729ab78bbc8aa73b1277e7a6ce6041c1bf..1da6b1fd3c41c00131b5d7e2e8f7a02ec85d722a 100644 (file)
@@ -248,15 +248,21 @@ namespace Utilities
                   const MPI_Comm  communicator_in);
 
       /**
-       * Reinitialize the communication pattern. The first argument
-       * `vector_space_vector_index_set` is the index set associated to a
-       * VectorSpaceVector object. The second argument
-       * `read_write_vector_index_set` is the index set associated to a
-       * ReadWriteVector object.
+       * Reinitialize the communication pattern.
+       *
+       * @param[in] locally_owned_indices The set of indices of elements
+       *   in the array mentioned in the class documentation that are
+       *   stored on the current process.
+       * @param[in] ghost_indices The set of indices of elements in the
+       *   array mentioned in the class documentation that the current
+       *   process will need to be able to import.
+       * @param[in] communicator The MPI communicator used to describe the
+       *   entire set of processes that participate in the storage and
+       *   access to elements of the array.
        */
       virtual void
-      reinit(const IndexSet &vector_space_vector_index_set,
-             const IndexSet &read_write_vector_index_set,
+      reinit(const IndexSet &locally_owned_indices,
+             const IndexSet &ghost_indices,
              const MPI_Comm  communicator) override;
 
       /**
index 6c23bba98a00717cc3262fd53506ca7918282024..e0dd7b33c5699649c106ad76674996ecd9c77da4 100644 (file)
@@ -135,14 +135,14 @@ namespace Utilities
 
 
     void
-    Partitioner::reinit(const IndexSet &vector_space_vector_index_set,
-                        const IndexSet &read_write_vector_index_set,
+    Partitioner::reinit(const IndexSet &locally_owned_indices,
+                        const IndexSet &ghost_indices,
                         const MPI_Comm  communicator_in)
     {
       have_ghost_indices = false;
       communicator       = communicator_in;
-      set_owned_indices(vector_space_vector_index_set);
-      set_ghost_indices(read_write_vector_index_set);
+      set_owned_indices(locally_owned_indices);
+      set_ghost_indices(ghost_indices);
     }
 
 

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.