From: Wolfgang Bangerth Date: Sun, 2 Jul 2023 02:54:40 +0000 (-0600) Subject: Fix the naming of some function arguments. X-Git-Tag: relicensing~803^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e565a49acfce2049a2a384ab893f59ff68a16e;p=dealii.git Fix the naming of some function arguments. --- diff --git a/include/deal.II/base/partitioner.h b/include/deal.II/base/partitioner.h index 693415729a..1da6b1fd3c 100644 --- a/include/deal.II/base/partitioner.h +++ b/include/deal.II/base/partitioner.h @@ -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; /** diff --git a/source/base/partitioner.cc b/source/base/partitioner.cc index 6c23bba98a..e0dd7b33c5 100644 --- a/source/base/partitioner.cc +++ b/source/base/partitioner.cc @@ -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); }