]> https://gitweb.dealii.org/ - dealii.git/commitdiff
changes in mpi.h to add an mpi type for unsigned long long int
authorKainan Wang <kennan.wong@gmail.com>
Thu, 14 Mar 2013 00:24:11 +0000 (00:24 +0000)
committerKainan Wang <kennan.wong@gmail.com>
Thu, 14 Mar 2013 00:24:11 +0000 (00:24 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28895 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/mpi.h
deal.II/include/deal.II/base/types.h

index b05eaff2fc0ce2627eedb6d70301ba19583b0944..8629515cc12d05530712d56621de09b71da73e24 100644 (file)
@@ -363,7 +363,13 @@ namespace Utilities
       {
         return MPI_UNSIGNED_LONG;
       }
+      
 
+      inline MPI_Datatype mpi_type_id (const unsigned long long int *)
+      {
+       return MPI_UNSIGNED_LONG;
+      }
+      
 
       inline MPI_Datatype mpi_type_id (const unsigned long long int *)
       {
index 544178d1720b0c53bea2acee0f3198192fb61dfc..2e4c516020baa2a634b5d84e67bec57f3958b520 100644 (file)
@@ -52,7 +52,7 @@ namespace types
    */
   const unsigned int artificial_subdomain_id DEAL_II_DEPRECATED = static_cast<subdomain_id>(-2);
 
-//#define DEAL_II_USE_LARGE_INDEX_TYPE
+#define DEAL_II_USE_LARGE_INDEX_TYPE
 #ifdef DEAL_II_USE_LARGE_INDEX_TYPE
   /**
    * The type used for global indices of

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.