]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a bug when using 32bits global indices.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Jun 2013 14:44:57 +0000 (14:44 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Jun 2013 14:44:57 +0000 (14:44 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29749 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/sparsity_tools.cc

index fda4a412e56d95e7ceadadbd5d0ae5b5641aaccf..95435d39846a32f6882b39366443822db1968f99 100644 (file)
@@ -452,7 +452,11 @@ namespace SparsityTools
       for (map_vec_t::iterator it=send_data.begin(); it!=send_data.end(); ++it, ++idx)
         MPI_Isend(&(it->second[0]),
                   it->second.size(),
+#ifdef DEAL_II_USE_LARGE_INDEX_TYPE
                   MPI_UNSIGNED_LONG_LONG,
+#else
+                  MPI_UNSIGNED,
+#endif
                   it->first,
                   124,
                   mpi_comm,

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.