From: Reza Rastak Date: Sat, 30 Nov 2019 08:46:33 +0000 (-0800) Subject: explicit instanciation is provided for Utilities::MPI::min and max with ArrayView X-Git-Tag: v9.2.0-rc1~838^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9113%2Fhead;p=dealii.git explicit instanciation is provided for Utilities::MPI::min and max with ArrayView --- diff --git a/source/base/mpi.inst.in b/source/base/mpi.inst.in index efa5a49a34..73572aea05 100644 --- a/source/base/mpi.inst.in +++ b/source/base/mpi.inst.in @@ -51,12 +51,20 @@ for (S : MPI_SCALARS) const MPI_Comm &, std::vector &); + template void max(const ArrayView &, + const MPI_Comm &, + const ArrayView &); + template S min(const S &, const MPI_Comm &); template void min>(const std::vector &, const MPI_Comm &, std::vector &); + template void min(const ArrayView &, + const MPI_Comm &, + const ArrayView &); + // The fixed-length array (i.e., things declared like T(&values)[N]) // versions of the functions above live in the header file mpi.h since the // length (N) is a compile-time constant. Those functions all call