]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also support long long int and wchar_t.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 27 Feb 2022 00:18:59 +0000 (17:18 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 3 Mar 2022 21:42:52 +0000 (14:42 -0700)
include/deal.II/base/mpi.h

index 61bb98aab23125e568de1f583420ebc1fea4bdef..c8ba9fad275f23ace5053dc049b046ce777e5f2a 100644 (file)
@@ -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 *)
         {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.