]> https://gitweb.dealii.org/ - dealii.git/commitdiff
locally_owned_size in dictionary
authorDavid Wells <drwells@email.unc.edu>
Mon, 25 May 2020 16:13:13 +0000 (12:13 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 11 Feb 2021 16:48:49 +0000 (11:48 -0500)
include/deal.II/base/mpi_compute_index_owner_internal.h

index 91092aa273f713b0b0ceddf6b5bb3e389162ab2b..41fadb02e5880bedc9f2b4cef9a9d7201888eba6 100644 (file)
@@ -196,7 +196,7 @@ namespace Utilities
            * the possible end of the index space. Equivalent to
            * `local_range.second - local_range.first`.
            */
-          types::global_dof_index local_size;
+          types::global_dof_index locally_owned_size;
 
           /**
            * The global size of the index space.
@@ -337,7 +337,7 @@ namespace Utilities
                   }
 
                 // 4) receive messages until all dofs in dict are processed
-                while (this->local_size != dic_local_received)
+                while (this->locally_owned_size != dic_local_received)
                   {
                     // wait for an incoming message
                     MPI_Status status;
@@ -515,10 +515,10 @@ namespace Utilities
             local_range.first  = get_index_offset(my_rank);
             local_range.second = get_index_offset(my_rank + 1);
 
-            local_size = local_range.second - local_range.first;
+            locally_owned_size = local_range.second - local_range.first;
 
             actually_owning_ranks = {};
-            actually_owning_ranks.resize(local_size,
+            actually_owning_ranks.resize(locally_owned_size,
                                          numbers::invalid_unsigned_int);
 #else
             (void)owned_indices;

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.