From 0a8b75f739517f8865a2d6419d15d97cf5dbc474 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 26 Feb 2022 17:18:59 -0700 Subject: [PATCH] Also support long long int and wchar_t. --- include/deal.II/base/mpi.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 *) { -- 2.39.5