]> https://gitweb.dealii.org/ - dealii.git/commitdiff
use correct MPI types 7364/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 19 Oct 2018 15:42:24 +0000 (09:42 -0600)
committerTimo Heister <timo.heister@gmail.com>
Fri, 19 Oct 2018 15:42:24 +0000 (09:42 -0600)
source/particles/particle_handler.cc

index cc0255d33d036bb1191887a28ed57c1f3edcd1d5..f8b699acbc407170d1c705287b8f7c3c2aaccf4b 100644 (file)
@@ -898,7 +898,7 @@ namespace Particles
         {
           const int ierr = MPI_Irecv(&(n_recv_data[i]),
                                      1,
-                                     MPI_INT,
+                                     MPI_UNSIGNED,
                                      neighbors[i],
                                      0,
                                      triangulation->get_communicator(),
@@ -909,7 +909,7 @@ namespace Particles
         {
           const int ierr = MPI_Isend(&(n_send_data[i]),
                                      1,
-                                     MPI_INT,
+                                     MPI_UNSIGNED,
                                      neighbors[i],
                                      0,
                                      triangulation->get_communicator(),

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.