From 5351ec02ff4092ae5891044d9231dfe7ca19a704 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 7 Jul 2022 19:17:04 +0200 Subject: [PATCH] Update outdated documentation of Partitioner --- include/deal.II/lac/la_parallel_vector.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/deal.II/lac/la_parallel_vector.h b/include/deal.II/lac/la_parallel_vector.h index fe0ad9be59..37f8d5c897 100644 --- a/include/deal.II/lac/la_parallel_vector.h +++ b/include/deal.II/lac/la_parallel_vector.h @@ -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()). * * * Functions related to parallel functionality: @@ -149,7 +149,8 @@ namespace LinearAlgebra * has_ghost_elements(), which returns true exactly when * ghost elements have been updated and false 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 + * get_partitioner()->n_ghost_indices() instead). * * * This vector uses the facilities of the class dealii::Vector 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 * [0,locally_owned_size), and ghost indices with indices - * [locally_owned_size,locally_owned_size+ n_ghost_entries]. + * [locally_owned_size,locally_owned_size+get_partitioner()->n_ghost_indices()]. * * Performance: Direct array access (fast). */ -- 2.39.5