From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 21:44:39 +0000 (-0600) Subject: Update a comment. X-Git-Tag: v9.0.0-rc1~839^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b016e8ebced8055f7250fa882d743d3519d0c27b;p=dealii.git Update a comment. --- 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,