From: Wolfgang Bangerth Date: Sun, 27 Feb 2022 00:18:59 +0000 (-0700) Subject: Also support long long int and wchar_t. X-Git-Tag: v9.4.0-rc1~413^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a8b75f739517f8865a2d6419d15d97cf5dbc474;p=dealii.git Also support long long int and wchar_t. --- diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 61bb98aab2..c8ba9fad27 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1337,6 +1337,14 @@ namespace Utilities + inline MPI_Datatype + mpi_type_id(const wchar_t *) + { + return MPI_WCHAR; + } + + + inline MPI_Datatype mpi_type_id(const short *) { @@ -1361,6 +1369,14 @@ namespace Utilities + inline MPI_Datatype + mpi_type_id(const long long int *) + { + return MPI_LONG_LONG; + } + + + inline MPI_Datatype mpi_type_id(const unsigned char *) {