From f759b9e3a4f00e77fda09494f5dffc708fe6f202 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sat, 8 Jun 2019 21:31:11 +0200 Subject: [PATCH] Make incompatibility more clear --- .../changes/incompatibilities/20190603MartinKronbichler | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/news/changes/incompatibilities/20190603MartinKronbichler b/doc/news/changes/incompatibilities/20190603MartinKronbichler index 9e6a7def5b..1f85cdbaf6 100644 --- a/doc/news/changes/incompatibilities/20190603MartinKronbichler +++ b/doc/news/changes/incompatibilities/20190603MartinKronbichler @@ -1,9 +1,11 @@ Changed: The functions DoFHandler::n_locally_owned_dofs_per_processor(), DoFHandler::locally_owned_dofs_per_processor() and -DoFHandler::locally_owned_mg_dofs_per_processor() previously return a +DoFHandler::locally_owned_mg_dofs_per_processor() previously returned a reference to an internally stored array of index sets on all processors. As this cannot scale to large processor counts, these functions have been marked -deprecated and only populate the internal vectors on the first demand. Use the +deprecated and only populate the internal vectors on the first demand. This +means that the first call must be a collective call on all MPI ranks to ensure +that the underlying MPI_Allgather function completes. Use the new functions DoFHandler::compute_n_locally_owned_dofs_per_processor(), DoFHandler::compute_locally_owned_dofs_per_processor() and DoFHandler::compute_locally_owned_mg_dofs_per_processor() instead or, even -- 2.39.5