]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update outdated documentation of Partitioner 14108/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 7 Jul 2022 17:17:04 +0000 (19:17 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 7 Jul 2022 17:17:04 +0000 (19:17 +0200)
include/deal.II/lac/la_parallel_vector.h

index fe0ad9be5973f885f6f09a9304120993df270398..37f8d5c8974120b7fbe6e0fb59d0cd5bc7f3b0ec 100644 (file)
@@ -110,7 +110,7 @@ namespace LinearAlgebra
      * local_element(). Locally owned indices are placed first, [0,
      * locally_owned_size()), and then all ghost indices follow after them
      * contiguously, [locally_owned_size(),
-     * locally_owned_size()+n_ghost_entries()).
+     * locally_owned_size()+get_partitioner()->n_ghost_indices()).
      * </ul>
      *
      * Functions related to parallel functionality:
@@ -149,7 +149,8 @@ namespace LinearAlgebra
      * has_ghost_elements(), which returns <code>true</code> exactly when
      * ghost elements have been updated and <code>false</code> otherwise,
      * irrespective of the actual number of ghost entries in the vector layout
-     * (for that information, use n_ghost_entries() instead).
+     * (for that information, use
+     * <code>get_partitioner()->n_ghost_indices()</code> instead).
      * </ul>
      *
      * This vector uses the facilities of the class dealii::Vector<Number> for
@@ -1051,7 +1052,7 @@ namespace LinearAlgebra
        * Read access to the data field specified by @p local_index. Locally
        * owned indices can be accessed with indices
        * <code>[0,locally_owned_size)</code>, and ghost indices with indices
-       * <code>[locally_owned_size,locally_owned_size+ n_ghost_entries]</code>.
+       * <code>[locally_owned_size,locally_owned_size+get_partitioner()->n_ghost_indices()]</code>.
        *
        * Performance: Direct array access (fast).
        */

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.