From: Daniel Arndt Date: Thu, 11 Feb 2021 16:59:22 +0000 (-0500) Subject: Addreess reviewer comments X-Git-Tag: v9.3.0-rc1~449^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0491d36117425f4695691a3c4b34d14b2237e4;p=dealii.git Addreess reviewer comments --- diff --git a/include/deal.II/base/partitioner.h b/include/deal.II/base/partitioner.h index 91c76f1b2a..7a4314686b 100644 --- a/include/deal.II/base/partitioner.h +++ b/include/deal.II/base/partitioner.h @@ -285,6 +285,8 @@ namespace Utilities /** * Return the number of locally owned indices, * i.e., local_range().second minus local_range().first. + * The returned numbers need to add up to the total number of indices when + * summed over all processes * * @deprecated Use the more clearly named function locally_owned_size() * instead. @@ -296,6 +298,8 @@ namespace Utilities /** * Return the number of locally owned indices, * i.e., local_range().second minus local_range().first. + * The returned numbers need to add up to the total number of indices when + * summed over all processes */ unsigned int locally_owned_size() const; diff --git a/include/deal.II/lac/la_parallel_vector.h b/include/deal.II/lac/la_parallel_vector.h index 81b9284a0a..e269e56938 100644 --- a/include/deal.II/lac/la_parallel_vector.h +++ b/include/deal.II/lac/la_parallel_vector.h @@ -925,7 +925,7 @@ namespace LinearAlgebra * Return the local size of the vector, i.e., the number of indices * owned locally. * - * @deprecated use locally_owned_size() instead. + * @deprecated Use locally_owned_size() instead. */ DEAL_II_DEPRECATED_EARLY size_type diff --git a/include/deal.II/lac/petsc_vector_base.h b/include/deal.II/lac/petsc_vector_base.h index 55ac42fb66..c108f40327 100644 --- a/include/deal.II/lac/petsc_vector_base.h +++ b/include/deal.II/lac/petsc_vector_base.h @@ -356,7 +356,7 @@ namespace PETScWrappers * is the same as size(), but for parallel vectors it may be smaller. * * To figure out which elements exactly are stored locally, use - * local_range(). + * local_range() or locally_owned_elements(). * * @deprecated use locally_owned_size() instead. */ @@ -370,7 +370,7 @@ namespace PETScWrappers * is the same as size(), but for parallel vectors it may be smaller. * * To figure out which elements exactly are stored locally, use - * local_range(). + * local_range() or locally_owned_elements(). */ size_type locally_owned_size() const;