From: Daniel Arndt Date: Tue, 5 Jan 2021 19:20:43 +0000 (-0500) Subject: Fix some more X-Git-Tag: v9.3.0-rc1~449^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4f4fff8041233c8db5ce3d467ea3aab92e5830;p=dealii.git Fix some more --- diff --git a/include/deal.II/matrix_free/vector_data_exchange.h b/include/deal.II/matrix_free/vector_data_exchange.h index d21efb9d21..53b44ce121 100644 --- a/include/deal.II/matrix_free/vector_data_exchange.h +++ b/include/deal.II/matrix_free/vector_data_exchange.h @@ -44,7 +44,7 @@ namespace internal virtual ~Base() = default; virtual unsigned int - local_size() const = 0; + locally_owned_size() const = 0; virtual unsigned int n_ghost_indices() const = 0; @@ -149,7 +149,7 @@ namespace internal virtual ~PartitionerWrapper() = default; unsigned int - local_size() const override; + locally_owned_size() const override; unsigned int n_ghost_indices() const override; @@ -262,7 +262,7 @@ namespace internal const MPI_Comm &communicator_sm); unsigned int - local_size() const override; + locally_owned_size() const override; unsigned int n_ghost_indices() const override; diff --git a/source/matrix_free/vector_data_exchange.cc b/source/matrix_free/vector_data_exchange.cc index e127111cd6..2da6124f4e 100644 --- a/source/matrix_free/vector_data_exchange.cc +++ b/source/matrix_free/vector_data_exchange.cc @@ -46,9 +46,9 @@ namespace internal unsigned int - PartitionerWrapper::local_size() const + PartitionerWrapper::locally_owned_size() const { - return partitioner->local_size(); + return partitioner->locally_owned_size(); } @@ -1275,7 +1275,7 @@ namespace internal unsigned int - Full::local_size() const + Full::locally_owned_size() const { return n_local_elements; }