]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Addreess reviewer comments
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 11 Feb 2021 16:59:22 +0000 (11:59 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 11 Feb 2021 16:59:22 +0000 (11:59 -0500)
include/deal.II/base/partitioner.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/petsc_vector_base.h

index 91c76f1b2a154877bb8810d1edac819e8175257c..7a4314686b6102ebc7dd2ac17b2bc5685a02ea85 100644 (file)
@@ -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;
index 81b9284a0a572d312d1d1a5aacbbeb8caec6fdec..e269e5693864f7b5ff77287af077f8dd76b23057 100644 (file)
@@ -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
index 55ac42fb66c9d1a6f256fad46eee1a878c5a87af..c108f403273fe9322e97c2b4314fa40c906526b6 100644 (file)
@@ -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;

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.