From 313dbf1874bd3548962ea98b23c3bc0bb7aab4ea Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 26 Feb 2022 17:35:34 -0700 Subject: [PATCH] Add to the documentation. --- include/deal.II/base/mpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index c8ba9fad27..18f98bb3d6 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1471,6 +1471,12 @@ namespace Utilities * via MPI functions to another process, and using * `mpi_type_id_for_type` to infer the correct MPI type to * use for the communication. + * + * The type `T` given here must be one of the data types supported + * by MPI, such as `int` or `double`. It may not be an array of + * objects of such a type, or a pointer to an object of such a + * type. The compiler will produce an error if this requirement is + * not satisfied. */ template const MPI_Datatype -- 2.39.5