From b016e8ebced8055f7250fa882d743d3519d0c27b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 15:44:39 -0600 Subject: [PATCH] Update a comment. --- include/deal.II/base/mpi.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 8afff6e2c5..f931f23d63 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -164,6 +164,15 @@ namespace Utilities const MPI_Comm &mpi_communicator, T (&sums)[N]); + /** + * Like the previous function, but take the sums over the elements of an + * array as specified by the ArrayView arguments. + * In other words, the i-th element of the results + * array is the sum over the i-th entries of the input arrays from each + * processor. + * + * Input and output arrays may be the same. + */ template void sum (const ArrayView &values, const MPI_Comm &mpi_communicator, -- 2.39.5